summaryrefslogtreecommitdiffstats
path: root/gc.h
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2011-11-28 11:27:23 -0800
committerKaz Kylheku <kaz@kylheku.com>2011-11-28 11:27:23 -0800
commitb133159cf56dba53c53b3cbc05f7907a60bb7441 (patch)
treed913a1928d9dc19e56fbea908cd179fa6dcef0a1 /gc.h
parent8104a2598204df75a485bcb27bd35a2d1c79dc31 (diff)
downloadtxr-b133159cf56dba53c53b3cbc05f7907a60bb7441.tar.gz
txr-b133159cf56dba53c53b3cbc05f7907a60bb7441.tar.bz2
txr-b133159cf56dba53c53b3cbc05f7907a60bb7441.zip
mapcar, mappend and apply functions.
fun operator. * eval.c (apply_s): New symbol variable. (apply): Handle functions specified as symbols. Use symbol from context form in error reporting. (apply_intrinsic): New function. (interp_fun): Bugfix: removed evaluation of arguments, since arguments are already evaluated. (op_call): Simplified by not having to handle symbols, since apply does. (op_fun): New function. (expand): Handle special form fun. (mapcarv, mappendv): New functions. (eval_init): Initialize apply_s. Register op_fun function in op_table. Register mapcar, mappend and apply functions.
Diffstat (limited to 'gc.h')
0 files changed, 0 insertions, 0 deletions