Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix R6RS `fold-left' so the accumulator is the first argument. | Ian Price | 2011-11-01 | 1 | -0/+26 |
| | | | | | | | | | | | * module/rnrs/lists.scm (fold-left): New procedure. * module/rnrs/records/syntactic.scm (define-record-type): Fix to use corrected `fold-left'. * test-suite/tests/r6rs-lists.test: Add tests. Signed-off-by: Ludovic Courtès <ludo@gnu.org> | ||||
* | Explicit definitions for `memp' and `assp' in `(rnrs list)'; the predicate | Julian Graham | 2010-08-08 | 1 | -0/+32 |
argument to Guile's `member' and `assoc' functions has a different expected arity. * module/rnrs/lists.scm (memp, assp): Wrap the predicate function with a two-argument wrapper before calling Guile's underlying implemenation. * test-suite/Makefile.am: Add test-suite/tests/r6rs-lists.test to SCM_TESTS. * test-suite/tests/r6rs-lists.test: New file. |