Anonymous user
Conditional structures: Difference between revisions
Conditional structures in BLC
imported>Tromp (Conditional structures in BLC) |
|||
Line 1,740:
<syntaxhighlight lang="befunge">& #v_ "0",@ zero
> "X",@ non-zero</syntaxhighlight>
=={{header|Binary Lambda Calculus}}==
Lambda calculus has no conditional structures built in, but the standard representations of booleans can be seen to implement if-then-else: true = \then. \else. then, false = \then. \else. else, which correspond to BLC programs 00 00 110 and 00 00 10.
=={{header|blz}}==
|