more mzlib scribbling
svn: r8552 original commit: 15304f587024343e50fb72b6baed849459d76b6b
This commit is contained in:
parent
b047cf8e64
commit
5f53e41e97
|
@ -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))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user