Apply a callback to an array: Difference between revisions
Content added Content deleted
imported>Arakov |
imported>Tromp (map in BLC) |
||
Line 440: | Line 440: | ||
2.23606798 |
2.23606798 |
||
</pre> |
</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}}== |
=={{header|BQN}}== |