summaryrefslogtreecommitdiff
path: root/srfi
Commit message (Collapse)AuthorAgeFilesLines
* * srfi-1.scm: Re-export all srfi-1 bindings implemented by theMikael Djurfeldt2003-03-242-1/+13
| | | | core. (Thanks to Kevin Ryde.)
* * srfi-13.scm: Mark replacements.Mikael Djurfeldt2003-03-123-18/+28
| | | | | | | | | | | | | | | | | | * srfi-17.scm: Mark replacements. * boot-9.scm (module-make-local-var!): Use module-add!. (module-primitive-add!): New function. (resolve-interface): Use (call-with-deferred-observers, module-call-observers): New functions. (module-defer-observers, module-defer-observers-mute, module-defer-observers-table): New variables. (process-define-module, process-use-modules, export, re-export): Use call-with-deferred-observers. * syncase.scm (eval): Mark as replacement. * boot-9.scm (defmacro-public): Use export-syntax instead of export.
* * srfi-1.scm (filter, filter!): Removed. (Now implemented in the core.)Mikael Djurfeldt2003-03-112-19/+5
| | | | | | | | | | | | | | | | * 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.
* * srfi-1.scm (iota map for-each map-in-order list-index memberMikael Djurfeldt2003-03-102-13/+20
| | | | | | | | | | | | | | | | | | | | 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.
* * srfi-1.c (scm_init_srfi_1): Extend root module map and for-eachMikael Djurfeldt2003-03-062-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* * srfi-1.c (srfi1_for_each): Corrected argument checking for theMikael Djurfeldt2003-02-032-4/+9
| | | | case of two argument lists. (Thanks to Kevin Ryde.)
* *** empty log message ***Rob Browning2002-12-091-0/+4
|
* * Makefile.am (srfidir): VERSION -> GUILE_EFFECTIVE_VERSION.Rob Browning2002-12-091-1/+1
|
* *** empty log message ***Marius Vollmer2002-12-021-0/+4
|
* (srfiinclude_HEADERS): Added srfi-1.h.Marius Vollmer2002-12-021-1/+1
|
* * srfi-1.scm: Load srfi-1 extension.Mikael Djurfeldt2002-12-014-25/+41
| | | | | | (map, map-in-order, for-each, member, assoc): Replaced by primitives in srfi-1.c. (map1): Defined as `map'.
* * srfi-1.scm: Load srfi-1 extension.Mikael Djurfeldt2002-12-015-47/+416
| | | | | | | | | (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.
* * Makefile.am (srfiinclude_HEADERS, srfiincludedir): install theRob Browning2002-10-091-3/+6
| | | | srfi headers into guile/srfi/.
* *** empty log message ***Marius Vollmer2002-05-061-0/+10
|
* (scm_string_tokenize): Instead of using "isgraphic" as the subtituteMarius Vollmer2002-05-061-21/+13
| | | | | for char-set:graphic when then token-set hsa been defaulted, grab the real char-set:graphic from (srfi srfi-14).
* (SCM_CHARSET_GET): Cast IDX to unsigned char so that it works forMarius Vollmer2002-05-061-3/+3
| | | | 8-bit characters. Thanks to Matthias Koeppe! No, make that "Köppe".
* *** empty log message ***Marius Vollmer2002-04-261-0/+8
|
* (s_scm_string_tokenize): Only take character sets as the second arg.Marius Vollmer2002-04-261-39/+13
| | | | | | | Collect characters belonging to this set into tokens (as specified by the SRFI), instead of splitting at these characters. Default to an equivalent of char-set:graphic instead of everything-but-whitespace. Thanks to Matthias Koeppe!
* *** empty log message ***Rob Browning2002-04-111-0/+4
|
* * .cvsignore: add *.c.clean.c.Rob Browning2002-04-111-0/+1
|
* *** empty log message ***Thien-Thi Nguyen2002-03-281-0/+7
|
* Update copyright.Thien-Thi Nguyen2002-03-2813-642/+691
| | | | Point to manual in commentary; nfc.
* Update copyright.Thien-Thi Nguyen2002-03-283-54/+84
| | | | Add commentary; nfc.
* *** empty log message ***Thien-Thi Nguyen2002-03-281-42/+50
|
* *** empty log message ***Marius Vollmer2002-03-241-0/+4
|
* (.c.x): Pass "-o $@" to guile-snarf.Marius Vollmer2002-03-241-1/+1
|
* *** empty log message ***Thien-Thi Nguyen2002-03-141-0/+3
|
* (snarfcppopts): New var.Thien-Thi Nguyen2002-03-141-5/+6
| | | | (.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
* *** empty log message ***Thien-Thi Nguyen2002-03-141-0/+5
|
* Retire inclusion guard macro SCM_MAGIC_SNARFER.Thien-Thi Nguyen2002-03-143-87/+81
|
* *** empty log message ***Marius Vollmer2002-03-111-0/+5
|
* (string_titlecase_x): Treat characters as unsigned so that 8-bit charsMarius Vollmer2002-03-111-2/+2
| | | | work. Thanks to David Pirotte!
* *** empty log message ***Rob Browning2002-02-251-0/+7
|
* * Makefile.am (libguile_srfi_srfi_4_la_LDFLAGS): useRob Browning2002-02-251-5/+8
| | | | | | @LIBGUILE_SRFI_SRFI_4_INTERFACE@. (libguile_srfi_srfi_13_14_la_LDFLAGS): use @LIBGUILE_SRFI_SRFI_13_14_INTERFACE@.
* * Fix date-week-number bug in srfi-19.scm.Neil Jerram2002-02-232-3/+10
|
* * Fix a typo that crept in with the scm_X_t to scm_t_X rename.Neil Jerram2002-02-222-1/+7
| | | | * Partial fix for date-week-number bug.
* *** empty log message ***Marius Vollmer2002-02-111-0/+6
|
* Use scm_gc_malloc/scm_malloc and scm_gc_free/free instead ofMarius Vollmer2002-02-112-4/+6
| | | | scm_must_malloc and scm_must_free, as appropriate.
* *** empty log message ***Thien-Thi Nguyen2002-01-211-0/+5
|
* (count1, take-while): Rewrite to be tail-recursive.Thien-Thi Nguyen2002-01-211-11/+17
| | | | Thanks to Panagiotis Vossos.
* *** empty log message ***Thien-Thi Nguyen2002-01-211-0/+5
|
* (map1): Rewrite to be tail-recursive.Thien-Thi Nguyen2002-01-211-15/+20
| | | | Thanks to Panagiotis Vossos for the bug report.
* *** empty log message ***Marius Vollmer2001-12-161-0/+4
|
* (let-values): Use `gensym' instead of `gentemp'.Marius Vollmer2001-12-161-1/+1
|
* * Add ETAGS_ARGS decls so that more stuff gets tagged.Neil Jerram2001-12-012-0/+5
|
* *** empty log message ***Marius Vollmer2001-11-121-0/+5
|
* Use HAVE_LONG_LONG instead of HAVE_LONG_LONGS and testMarius Vollmer2001-11-121-5/+5
| | | | it with `#ifdef' instead of `#if'.
* * Documentation work.Neil Jerram2001-11-113-6/+12
|
* *** empty log message ***Thien-Thi Nguyen2001-11-061-5/+10
|
* (time-monotonic->time-monotonic): Spurious; remove from exports.Thien-Thi Nguyen2001-11-061-1/+0
|