Variadic fixed-point combinator: Difference between revisions

Have removed my own post as I misunderstood the task.
(Realize in F#)
(Have removed my own post as I misunderstood the task.)
Tag: Manual revert
(5 intermediate revisions by 2 users not shown)
Line 173:
 
=={{header|Phix}}==
Translation of Wren/Julia/JavaScript/Python... The file closures.e was added for 1.0.5, which has [not yet shipped], and haswith the somewhat non-standard requirement of needing any captures explicitly stated [and returned if updated], and invokable only via the [new] call_lambda() function, rather thannot directlydirect or the usual[implicit] call_func() or the implicit invocation of that. Not yet properly documented, or for that matter fully tested...<br>
Disclaimer: Don't ask me if this is a proper Y combinator, all I know for sure is it converts a set of functions into a set of closures, without recursion.
<syntaxhighlight lang="phix">
include builtins/closures.e -- auto-include in 1.0.5+ (needs to be manually installed and included prior to that)
891

edits