rex v0.1.0-alpha2 Rex.Control

Summary

Functions

If-Then-Else evaluates then quoted expression if cond is truthy otherwise evaluates else quoted expression

Functions

ifte(list)

If-Then-Else evaluates then quoted expression if cond is truthy otherwise evaluates else quoted expression

[cond, then, else | s]

[true, [x], [y] | s] -> [x | s]
[nil,  [x], [y] | s] -> [y | s]