RosettaCodeData/Task/Y-combinator/Julia/y-combinator-1.julia
2015-11-18 06:14:39 +00:00

6 lines
149 B
Text

julia> """
# Y combinator
* `λf. (λx. f (x x)) (λx. f (x x))`
"""
Y = f -> (x -> x(x))(y -> f((t...) -> y(y)(t...)))