summaryrefslogtreecommitdiff
path: root/srfi/srfi-1.c
AgeCommit message (Collapse)AuthorFilesLines
2004-07-27* tags.h, deprecated.h (SCM_EQ_P): Deprecated by moving it intoMarius Vollmer1-5/+5
deprecated.h. Replaced all uses with scm_is_eq.
2004-07-08* numbers.h (SCM_MAKINUM, SCM_I_MAKINUM): Renamed SCM_MAKINUM toMarius Vollmer1-2/+2
SCM_I_MAKINUM and changed all uses.
2004-07-06Replaced all uses of deprecated SCM_FALSEP, SCM_NFALSEP, SCM_BOOL,Marius Vollmer1-11/+11
SCM_NEGATE_BOOL, and SCM_BOOLP with scm_is_false, scm_is_true, scm_from_bool, and scm_is_bool, respectively.
2003-12-02(count): Rewrite in C, avoiding non-tail recursion.Kevin Ryde1-0/+103
2003-08-22(list-copy): New function, derivedKevin Ryde1-0/+33
from core list-copy but allowing improper lists, per SRFI-1 spec.
2003-07-28(length+): Rewrite using scm_ilength.Kevin Ryde1-0/+12
2003-07-28(concatenate, concatenate!): Use scm_append and scm_append_x.Kevin Ryde1-0/+8
2003-07-132003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>Kevin Ryde1-0/+40
* srfi-1.c, srfi-1.h (scm_srfi1_partition), srfi-1.scm (partition): Re-implement in C to avoid stack overflows for long input lists.
2003-07-08(scm_srfi1_delete, scm_srfi1_delete_x,Kevin Ryde1-7/+308
scm_srfi1_delete_duplicates, scm_srfi1_delete_duplicates_x): New functions. scm_srfi1_delete_x is derived from scm_delete_x.
2003-04-21 * srfi/srfi-1.c (srfi1_ilength), libguile/list.c (scm_ilength,Dirk Herrmann1-2/+2
scm_last_pair), libguile/unif.c (l2ra): Prefer !SCM_CONSP over SCM_NCONSP. * libguile/unif.c (l2ra): Eliminate redundant check. Now, guile itself does not include any calls to SCM_NCONSP any more.
2003-04-05Changed license terms to the plain LGPL thru-out.Marius Vollmer1-38/+12
2003-03-06* srfi-1.c (scm_init_srfi_1): Extend root module map and for-eachMikael Djurfeldt1-0/+7
with the versions in this module using scm_c_extend_primitive_generic. * goops.scm (equal?): Define default method. * goops.c (scm_primitive_generic_generic): Enable primitive generic if not enabled. (scm_sys_goops_loaded): Setup unextended primitive generics. * goops.c, goops.h (scm_c_extend_primitive_generic): New function. * snarf.h (SCM_PRIMITIVE_GENERIC, SCM_PRIMITIVE_GENERIC_1): New snarf macros. * numbers.c (scm_abs): Use SCM_PRIMITIVE_GENERIC. (This is only a testing example. All uses of SCM_GPROC should be converted.) * procprop.c (scm_stand_in_scm_proc): Use scm_assq instead of scm_assoc. * eq.c (scm_equal_p): Turned into a primitive generic.
2003-02-03* srfi-1.c (srfi1_for_each): Corrected argument checking for theMikael Djurfeldt1-4/+4
case of two argument lists. (Thanks to Kevin Ryde.)
2002-12-01* srfi-1.scm: Load srfi-1 extension.Mikael Djurfeldt1-2/+34
(map, map-in-order, for-each, member, assoc): Replaced by primitives in srfi-1.c. (map1): Defined as `map'.
2002-12-01* srfi-1.scm: Load srfi-1 extension.Mikael Djurfeldt1-0/+324
(map, map-in-order, for-each, member): Replaced by primitives in srfi-1.c. * Makefile.am: Added rules for srfi-1.c. * srfi-1.c, srfi-1.h: New files.