diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2011-12-07 08:04:54 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2011-12-07 08:04:54 -0800 |
commit | 7c413d6aa3ab8e0ba59c5ab243effeb6cd9b68d1 (patch) | |
tree | a548c3b4bc99fd71ead2c33c7ecf2f6e479b0938 /txr.1 | |
parent | 7bf14da873daab72ade5de8235ceee4cdedf5a16 (diff) | |
download | txr-7c413d6aa3ab8e0ba59c5ab243effeb6cd9b68d1.tar.gz txr-7c413d6aa3ab8e0ba59c5ab243effeb6cd9b68d1.tar.bz2 txr-7c413d6aa3ab8e0ba59c5ab243effeb6cd9b68d1.zip |
* eval.c (progn_s): New symbol variable.
(op_progn): New static function.
(eval_init): Initialize new variable, register progn operator.
* txr.1: progn documented.
Diffstat (limited to 'txr.1')
-rw-r--r-- | txr.1 | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -4322,6 +4322,22 @@ alternative1 | alternative2 | ... | alternativeN Multiple syntactic variations allowed in one place are indicated as bar-separated items. +.SS Operator progn + +.TP +Syntax: +(progn <form>*) + +.TP +Description + +The progn operator evaluates forms in order, and returns the value +of the last form. The return value of (progn) is nil. + +Various other operators such as let also arrange for the evaluation +of a body of forms, the value of the last of which is returned. +These operators are said to feature an "implicit progn". + .SS Operators let and let* .TP |