mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-19 05:39:17 +02:00
Added a stub
This commit is contained in:
parent
daee482715
commit
dfb502abe3
1 changed files with 21 additions and 0 deletions
21
docs/api/srfi/111.md
Normal file
21
docs/api/srfi/111.md
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# SRFI 111 - Boxes
|
||||||
|
|
||||||
|
The `(srfi 111)` library ...
|
||||||
|
|
||||||
|
See the [SRFI document](http://srfi.schemers.org/srfi-111/srfi-111.html) for more information.
|
||||||
|
|
||||||
|
##- [`and-let*`](#and-let)
|
||||||
|
##
|
||||||
|
###and-let*
|
||||||
|
## (and-let* (claws) body
|
||||||
|
##
|
||||||
|
## claws ::= '() | (cons claw claws)
|
||||||
|
## claw ::= (variable expression) | (expression) |
|
||||||
|
## bound-variable
|
||||||
|
##
|
||||||
|
##- The `claws` are evaluated in the strict left-to-right order
|
||||||
|
##- For each `claw`, the `expression` part is evaluated first (or `bound-variable` is looked up)
|
||||||
|
##- If the result is #f, `and-let*` immediately returns #f
|
||||||
|
##- Otherwise, if the `claw` is of the form `(variable expression)` the `expression`'s value is bound to a freshly made `variable`
|
||||||
|
##- The `variable` is available for the rest of the `claws` , and the `body`
|
||||||
|
##- As usual, all `variable`s must be unique (like in `let*`)
|
Loading…
Add table
Reference in a new issue