# HG changeset patch # User Steve Losh # Date 1471914550 0 # Node ID 8e95ffb4e969a52919cc3d96274a76c6f8dcc230 # Parent 22e0cd523d11a82e654564d4eb3c3e49d9c75855 Update docs diff -r 22e0cd523d11 -r 8e95ffb4e969 DOCUMENTATION.markdown --- 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: diff -r 22e0cd523d11 -r 8e95ffb4e969 losh.lisp --- 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: