1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 21:10:27 +02:00

Fix syntax and consolidate imports for (rnrs lists).

* module/rnrs/6/lists.scm: Import syntax is
  `(only (import-set) id-1 ...)', not `(only (import-set) (id-1 ...))';
  use `rename' form as wrapper instead of creating separate custom
  interface on SRFI-1.
This commit is contained in:
Julian Graham 2010-03-30 14:27:00 -04:00
parent ace75ab775
commit bc4db0905f

View file

@ -21,9 +21,18 @@
(export find for-all exists filter partition fold-left fold-right remp remove
remv remq memp member memv memq assp assoc assv assq cons*)
(import (rnrs base (6))
(only (guile) (filter member memv memq assoc assv assq cons*))
(only (srfi srfi-1) (find partition fold-right filter-map))
(rename (srfi srfi-1) (fold fold-left)
(only (guile) filter member memv memq assoc assv assq cons*)
(rename (only (srfi srfi-1) fold
any
every
remove
member
assoc
find
partition
fold-right
filter-map)
(fold fold-left)
(any exists)
(every for-all)
(remove remp)