For Development HEAD DRAFTSearch (procedure/syntax/module):

Next: , Previous: , Up: Library modules - SRFIs   [Contents][Index]

11.4 srfi.5 - A compatible let form with signatures and rest arguments

Module: srfi.5

This module provides SRFI-5’s extended let syntax.

Macro: let ((var val) … [. (rest val …)]) body …
Macro: let name ((var val) … [. (rest val …)]) body …
Macro: let (name (var val) … [. (rest val …)]) body …

[SRFI-5]{srfi.5} The let syntax is extended in two ways.

  • The extended let syntax accepts the name identifier (for named let syntax) within the list of bindings (as in the third syntax above).
  • The extended let syntax accepts the rest parameter binding which works like the rest parameter in the lambda syntax.

See SRFI-5 document for rationale of this extension.


Next: , Previous: , Up: Library modules - SRFIs   [Contents][Index]


For Development HEAD DRAFTSearch (procedure/syntax/module):
DRAFT