summaryrefslogtreecommitdiff
path: root/srfi/srfi-1.scm
AgeCommit message (Collapse)AuthorFilesLines
2004-03-22(circular-list): Rewrite using set-cdr!, no need to copy parameter list.Kevin Ryde1-11/+5
2003-12-02(map!): Define as an alias for map, previous definition was not tail-recursive.Kevin Ryde1-16/+2
2003-12-02(count): Rewrite in C, avoiding non-tail recursion.Kevin Ryde1-19/+0
2003-08-22(list-copy): New function, derivedKevin Ryde1-3/+3
from core list-copy but allowing improper lists, per SRFI-1 spec.
2003-07-28(length+): Rewrite using scm_ilength.Kevin Ryde1-13/+0
2003-07-28(concatenate, concatenate!): Use scm_append and scm_append_x.Kevin Ryde1-26/+0
2003-07-132003-07-14 Matthias Koeppe <mkoeppe@mail.math.uni-magdeburg.de>Kevin Ryde1-9/+0
* 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(delete, delete!, delete-duplicates, delete-duplicates!): Remove.Kevin Ryde1-40/+0
2003-05-12(delete): Fix predicate arg order to match srfi-1 spec.Kevin Ryde1-1/+1
2003-05-09(take): Make this an alias for list-head.Kevin Ryde1-10/+3
(drop): Make this an alias for list-tail.
2003-04-22Removed stray "o" from exports list.Marius Vollmer1-1/+1
2003-04-05Changed license terms to the plain LGPL thru-out.Marius Vollmer1-36/+11
2003-03-24* srfi-1.scm: Re-export all srfi-1 bindings implemented by theMikael Djurfeldt1-1/+8
core. (Thanks to Kevin Ryde.)
2003-03-11* srfi-1.scm (filter, filter!): Removed. (Now implemented in the core.)Mikael Djurfeldt1-17/+2
* goops/util.scm (filter): Removed. (Now supplied by core.) * list.c, list.h (scm_filter, scm_filter_x): New functions. * debugger/command-loop.scm: Prefix all commands imported from (ice-9 debugger command-loop) with debugger:. * boot-9.scm (resolve-interface): Process #:hide; Name custom interfaces appropriately. (module-use!, module-use-interfaces!): Remove existing interfaces on the use-list based on module name rather than interface identity so that custom interfaces truly replaces their previous version.
2003-03-10* srfi-1.scm (iota map for-each map-in-order list-index memberMikael Djurfeldt1-13/+15
delete delete! assoc): Marked as replacements. * goops.scm (define-extended-generics): New syntax. (<class> <operator-class> <entity-class> <entity>): Marked as replacements. * boot-9.scm (module-override!, make-mutable-parameter, lookup-duplicates-handlers, default-module-duplicates-handler): New functions. (process-duplicates): Don't call duplicates handlers for duplicate bindings of the same variable. (process-define-module): Process #:replace. (compile-interface-spec, resolve-interface): Process #:prefix. * format.scm (format): Marked as replacement. * threads.scm (future, future-ref): Marked as replacements.
2002-12-01* srfi-1.scm: Load srfi-1 extension.Mikael Djurfeldt1-19/+1
(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-44/+5
(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.
2002-03-28Update copyright.Thien-Thi Nguyen1-49/+52
Point to manual in commentary; nfc.
2002-01-21(count1, take-while): Rewrite to be tail-recursive.Thien-Thi Nguyen1-11/+17
Thanks to Panagiotis Vossos.
2002-01-21(map1): Rewrite to be tail-recursive.Thien-Thi Nguyen1-15/+20
Thanks to Panagiotis Vossos for the bug report.
2001-09-122001-09-12 Gary Houston <ghouston@arglist.com>Gary Houston1-1/+1
* srfi-1.scm (filter): change "caller" to "filter" in check-arg-type.
2001-08-31* Removed lots of deprecated stuff.Dirk Herrmann1-14/+0
2001-08-05 * srfi-1.scm (check-arg-type, non-negative-integer?): a couple of newGary Houston1-0/+13
internal definitions. (list-tabulate, iota): check for bad arguments that otherwise give weird output. (filter): check for proper list, to avoid infinite recursion on a circular list.
2001-08-04 * srfi-1.scm (filter): replaced with a tail-recursive version.Gary Houston1-10/+10
(remove): implement using filter, to make it tail-recursive.
2001-07-06 * srfi-1.scm (iota, map, for-each, list-index, member, delete,Gary Houston1-13/+23
delete!, assoc): roll back the previous change. instead place dummy definitions in a deprecated block at the beginning as in srfi-13.scm.
2001-07-03 (map-in-order): defined and exported, to support lists of unequalGary Houston1-2/+4
length.
2001-07-03 * srfi-1.scm (iota, map, for-each, list-index, member, delete,Gary Houston1-8/+12
delete!, assoc): don't export until the new bindings have been created. otherwise "export" thinks they are being re-exported and a deprecation warning is produced.
2001-07-03 * srfi-1.scm (list-tabulate): Do not go into infinite loop forMartin Grabmüller1-11/+11
invalid arguments. Same fix for several other procedures (do not use zero?, use <= 0).
2001-07-03 * srfi-1.scm (list-tabulate): Do not go into infinite loop forMartin Grabmüller1-1/+1
invalid arguments.
2001-07-02 * srfi-1.scm: Replaced calls to `map' in several procedures toMartin Grabmüller1-33/+76
calls to `map1'. (map, for-each): New procedures, extended from R5RS.
2001-06-07 * srfi-1.scm (fold, fold-pair): Fixed a buggy call to apply.Martin Grabmüller1-6/+14
(delete-duplicates): Now the first occurrence of an element is retained, as required. (member, assoc): Fixed wrong order of equality predicate application.
2001-06-07 * README: Update.Martin Grabmüller1-0/+976
* srfi-1.scm: New file.