Function composition: Difference between revisions

Content added Content deleted
imported>Arakov
imported>Tromp
(add compose function in BLC)
Line 550: Line 550:
{{out}} on Android phone:
{{out}} on Android phone:
<syntaxhighlight lang="bori">0.500000000</syntaxhighlight>
<syntaxhighlight lang="bori">0.500000000</syntaxhighlight>

=={{header|Binary Lambda Calculus}}==

In lambda calculus, the compose functions happens to coincide with multiplication on Church numerals, namely <code>compose = \f \g \x. f (g x)</code> which in BLC is

<syntaxhighlight>00 00 00 01 1110 01 110 10</syntaxhighlight>


=={{header|BQN}}==
=={{header|BQN}}==