rex v0.1.0-alpha4 Rex.Control

Summary

Functions

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

Functions

dequote(arg)
ifte(arg)

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]