Conditional structures: Difference between revisions

Content added Content deleted
(→‎Else and elif: there really is no need to use semicolons if we plan on writing several lines anyway)
Line 1,743: Line 1,743:
=={{header|Binary Lambda Calculus}}==
=={{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.
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 <code>00 00 110</code> and <code>00 00 10</code>.


=={{header|blz}}==
=={{header|blz}}==