[Haskell] How to define Y combinator in Haskell
Haihua Lin
HaihuaLin at 163.com
Fri Sep 15 08:11:23 EDT 2006
Hi,
Writing
yc = \f -> (\x -> f(x x)) (\x -> f(x x))
causes type error. Is there a way to define it in Haskell?
Thanks,
Haihua
More information about the Haskell
mailing list