Conditional structures: Difference between revisions

Content added Content deleted
imported>Tromp
(Conditional structures in BLC)
Line 1,740: Line 1,740:
<syntaxhighlight lang="befunge">& #v_ "0",@ zero
<syntaxhighlight lang="befunge">& #v_ "0",@ zero
> "X",@ non-zero</syntaxhighlight>
> "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}}==
=={{header|blz}}==