Apply a callback to an array: Difference between revisions

map in BLC
imported>Arakov
imported>Tromp
(map in BLC)
Line 440:
2.23606798
</pre>
 
=={{header|Binary Lambda Calculus}}==
In the lambda calculus, we can map over a list as in https://github.com/tromp/AIT/blob/master/lists/map.lam, which gives the following BLC program to negate every bit of input:
<syntaxhighlight>010001101000000101100000000001011000000101111111010110010111111101111110111010</syntaxhighlight>
 
=={{header|BQN}}==
Anonymous user