www.delorie.com/gnu/docs/emacs/cl_20.html   search  
Buy the book!

Common Lisp Extensions

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.3.1 Dynamic Bindings

The standard let form binds variables whose names are known at compile-time. The progv form provides an easy way to bind variables whose names are computed at run-time.

Special Form: progv symbols values forms...
This form establishes let-style variable bindings on a set of variables computed at run-time. The expressions symbols and values are evaluated, and must return lists of symbols and values, respectively. The symbols are bound to the corresponding values for the duration of the body forms. If values is shorter than symbols, the last few symbols are made unbound (as if by makunbound) inside the body. If symbols is shorter than values, the excess values are ignored.

  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003