Notes on flow control.

Simon Brooke 2017-01-02 14:55:37 +00:00
parent fccbb49805
commit 5636a0dcea

@ -26,7 +26,7 @@ Public. Takes one argument. If that argument is a CONS cell and is readable by t
# (cond args...)
Public. Takes an arbitrary number of arguments each of which are lists. The arguments are examined in turn until the first element of an argument evaluates to non-nil; then each of the remaining elements of that argument are evaluated in turn and the value of the last element returned. If no argument has a first element which evaluates to true, returns NIL.
Public. Takes an arbitrary number of arguments each of which are lists. The arguments are examined in turn until the first element of an argument evaluates to non-nil; then each of the remaining elements of that argument are evaluated in turn and the value of the last element returned. If no argument has a first element which evaluates to true, returns NIL. _Note: this is explicit flow control and clauses will not be evaluated in parallel._
# (cons a d)