1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-01 20:30:28 +02:00
Commit graph

7 commits

Author SHA1 Message Date
Mikael Djurfeldt
a70fb265a2 * evalext.c, evalext.h (scm_m_generalized_set_x): New memoizing
macro.
(scm_init_evalext): Call scm_make_gsubr for
scm_m_generalized_set_x.
1999-03-11 11:45:34 +00:00
Maciej Stachowiak
b8229a3bab * snarf.h (SCM_SYNTAX): New macro to allow convenient declaration of
syntactic forms, similar to SCM_PROC.
* debug.c, eval.c, evalext.c: use SCM_SYNTAX to declare all special
forms, and SCM_SYMBOL or SCM_GLOBAL_SYMBOL to delcare C variables for
the name symbols when needed.
1998-12-14 15:19:59 +00:00
Mikael Djurfeldt
285302e107 * evalext.c (map-in-order): New name. Replaces serial-map. 1998-12-07 16:48:35 +00:00
Mikael Djurfeldt
b325a6c8ac * evalext.c (scm_definedp): Removed check for isyms; Added a
second optional argument: It is now possible to supply an
evaluation environment in which to look for the symbol.
1998-11-20 17:14:41 +00:00
Mikael Djurfeldt
88be72acb3 * evalext.c, evalext.h (scm_m_sequence_to_list): Removed.
Replaced by macro `collect' in boot-9.scm.
1998-11-12 16:00:41 +00:00
Mikael Djurfeldt
64921cdd76 * evalext.c (sequence->list): Fix 1998-10-31 14:18:07 +00:00
Mikael Djurfeldt
40cf7e92b2 * evalext.c, evalext.h: New files. Contain non-R5RS things
having to do with evaluation.
* evalext.c (serial-map): New procedure: Version of `map' which
guarantees that the procedure is applied to the lists in serial
order.
(sequence->list): New syntax: Version of `begin' which returns a
list of the results of the body forms instead of the result of the
last body form.
(scm_definedp, scm_m_undefine): Moved from eval.c
* evalext.h (scm_m_sequence_to_list): Added declaration.
* Makefile.am: Added evalext.c, evalext.h, macros.c, macros.h.
1998-10-31 13:31:25 +00:00