8e95ffb4e969
Update docs
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Tue, 23 Aug 2016 01:09:10 +0000 |
parents | 22e0cd523d11 |
children | 42e0432fc20e |
branches/tags | (none) |
files | DOCUMENTATION.markdown losh.lisp |
Changes
--- a/DOCUMENTATION.markdown Tue Aug 23 01:08:05 2016 +0000 +++ b/DOCUMENTATION.markdown Tue Aug 23 01:09:10 2016 +0000 @@ -133,7 +133,7 @@ (IF-FOUND VAR LOOKUP-EXPR THEN ELSE) -Perform `body` or `else` depending on the results of `lookup-expr`. +Perform `then` or `else` depending on the results of `lookup-expr`. `lookup-expr` should be an expression that returns two values, the first being the result and the second indicating whether the lookup was successful. The @@ -142,7 +142,7 @@ If the lookup was successful, `then` will be executed with `var` bound to the result, and its value returned. - Otherwise `else` will be executed, without any extra bindings. + Otherwise `else` will be executed and returned, without any extra bindings. Example:
--- a/losh.lisp Tue Aug 23 01:08:05 2016 +0000 +++ b/losh.lisp Tue Aug 23 01:09:10 2016 +0000 @@ -275,7 +275,7 @@ If the lookup was successful, `then` will be executed with `var` bound to the result, and its value returned. - Otherwise `else` will be executed, without any extra bindings. + Otherwise `else` will be executed and returned, without any extra bindings. Example: