Content deleted Content added
Line 488:
[[User:Thepigdog|Thepigdog]] ([[User talk:Thepigdog|talk]]) 05:39, 30 October 2014 (UTC)
== Wolfram example ==
I think this example does not add anything. Perhaps you would like to add it to,
* http://rosettacode.org/wiki/Y_combinator
''For example, a Y-combinator implementation of factorial in the [[Wolfram Language]] would be''
<source lang=ocaml>Y = Function[f, #[#]&[Function[g, f[g[g][##]&]]]];
factorial = Y[Function[f, If[# < 1, 1, # f[# - 1]] &]];
factorial[6] (*Yields 120*)</source>
[[User:Thepigdog|Thepigdog]] ([[User talk:Thepigdog|talk]]) 02:20, 26 May 2015 (UTC)
|