5 ms·
Could you, please, provide a more elegant example in other statically typed language.
by T-zex 16y ago
Could you, please, provide a more elegant example in other statically typed language.
- xyzzyz 16y agohttp://www.haskell.org/pipermail/haskell/2006-September/018497.html http://www.haskell.org/pipermail/haskell/2006-September/0184...
- chwahoo 16y agoOCaml: http://rosettacode.org/wiki/Y_combinator#OCaml http://rosettacode.org/wiki/Y_combinator#OCaml
- chrisjsmith 16y agoMy point entirely!
- MichaelGG 16y agoComing from not-overly-sunny MSR Cambridge, but now sorta in the same division as the C# team, F#: let rec y f x = f (y f) x As a general note, C# tends to get very verbose very quickly if you choose to take up too much of a functional style with it.