Y combinator: Difference between revisions

Content added Content deleted
Line 3,648: Line 3,648:
=={{header|Joy}}==
=={{header|Joy}}==
<syntaxhighlight lang=Joy>DEFINE y == [dup cons] swap concat dup cons i;
<syntaxhighlight lang=Joy>DEFINE y == [dup cons] swap concat dup cons i;
fac == [[pop null] [pop succ] [[dup pred] dip i *] ifte] y.</syntaxhighlight>

fac == [ [pop null] [pop succ] [[dup pred] dip i *] ifte ] y.</syntaxhighlight>


=={{header|Julia}}==
=={{header|Julia}}==