283
edits
KalmanKeri (talk | contribs) |
KalmanKeri (talk | contribs) |
||
| Line 101: | Line 101: | ||
* choice and mathematical case analisys | * choice and mathematical case analisys | ||
=== Exclusive choice === | ==== Exclusive choice ==== | ||
One can make choices mutually exclusive by limiting themeselves to trees of | One can make choices mutually exclusive by limiting themeselves to trees of choices where each leaf of the tree is one of the forms <math>a^+ . s</math> and <math>a^- . s</math> [and all atoms are different]. This is an example of guarded choice[]. It allows for the encoding of sum types and the corresponding <math>case</math> expressions in strongly typed functional languages. | ||
=== The pipe combinator === | === The pipe combinator === | ||
edits