Array length: Difference between revisions

Content added Content deleted
imported>Tromp
(add BLC list length)
Line 738: Line 738:
BLC has no arrays, so here's a function to compute the length of a given list (as a church numeral) instead, corresponding to https://github.com/tromp/AIT/blob/master/lists/length.lam :
BLC has no arrays, so here's a function to compute the length of a given list (as a church numeral) instead, corresponding to https://github.com/tromp/AIT/blob/master/lists/length.lam :


</syntaxhighlight>010001101000000101100000000000011100101010111111110111111101111011010000010</syntaxhighlight>
<pre>010001101000000101100000000000011100101010111111110111111101111011010000010</pre>


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