more mzlib scribbling

svn: r8552

original commit: 15304f587024343e50fb72b6baed849459d76b6b
This commit is contained in:
Matthew Flatt 2008-02-06 04:10:54 +00:00
parent b047cf8e64
commit 5f53e41e97

View File

@ -21,7 +21,11 @@
filter
sort))
sort)
(only scheme/list
cons?
empty?
empty))
(provide first
second
@ -112,9 +116,5 @@
(if (pair? x)
(loop x (cdr x))
l))
(raise-type-error 'last-pair "pair" l)))
(define cons? (lambda (x) (pair? x)))
(define empty? (lambda (x) (null? x)))
(define empty '()))
(raise-type-error 'last-pair "pair" l))))