11 ms·
It still amazes me that you can define the Y combinator in Haskell directly: y f = f (y f) And in ML, only slightly less directly: let rec y f x = f
by cousin_it 12y ago
It still amazes me that you can define the Y combinator in Haskell directly:
y f = f (y f)
And in ML, only slightly less directly:
let rec y f x = f (y f) x