41397da27bed90e22575984ec842ba8c926c38c2
[cc1516.git] / examples / Markus / self_application_shouldfail(1).spl
1 // A classic from computer science.
2 // The function \x.x x can not be typed in let-polymorphic type systems.
3 f(x)
4 {
5 return x(x);
6 }