DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

(guile.info.gz) let-keywords Reference

Info Catalog (guile.info.gz) let-optional Reference (guile.info.gz) Optional Arguments (guile.info.gz) lambda* Reference
 
 23.2.2 let-keywords Reference
 -----------------------------
 
 `let-keywords' and `let-keywords*' are used for extracting values from
 argument lists which use keywords instead of argument position for
 binding local variables to argument values.
 
    `let-keywords' binds all variables simultaneously, while
 `let-keywords*' binds them sequentially, consistent with `let' and
 `let*' ( Local Bindings).
 
  -- library syntax: let-keywords rest-arg allow-other-keys? (binding
           ...) expr ...
  -- library syntax: let-keywords rest-arg allow-other-keys? (binding
           ...) expr ...
      These macros pick out keyword arguments from REST-ARG, but do not
      modify it.  This is consistent at least with Common Lisp, which
      duplicates keyword arguments in the rest argument. More
      explanation of what keyword arguments in a lambda list look like
      can be found below in the documentation for `lambda*'  (
      lambda* Reference).  BINDINGs can have the same form as for
      `let-optional'. If ALLOW-OTHER-KEYS? is false, an error will be
      thrown if anything that looks like a keyword argument but does not
      match a known keyword parameter will result in an error.
 
      After binding the variables, the expressions EXPR ... are
      evaluated in order.
 
Info Catalog (guile.info.gz) let-optional Reference (guile.info.gz) Optional Arguments (guile.info.gz) lambda* Reference
automatically generated byinfo2html