Export cons* from SRFI 1.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
This commit is contained in:
OGINO Masanori 2015-07-21 14:52:46 +09:00
parent 24b4cafe65
commit aa2e11874f
2 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@
(rec (- count 1)
(cons (+ start (* count step)) acc))))))
(export cons list xcons make-list list-tabulate list-copy circular-list iota)
(export cons list xcons cons* make-list list-tabulate list-copy circular-list iota)
;; # Predicates
;; pair? null?

View File

@ -40,8 +40,8 @@
(test '(a b c) (xcons '(b c) 'a))
; (test '(1 2 3 . 4) (cons* 1 2 3 4))
; (test 1 (cons* 1))
(test '(1 2 3 . 4) (cons* 1 2 3 4))
(test 1 (cons* 1))
(test '(c c c c) (make-list 4 'c))