implement native version of some primitive functions such as car,crd...
This commit is contained in:
@@ -1,10 +1,3 @@
|
||||
; Although looking like a magic, it just works.
|
||||
(define (car x)
|
||||
(car x))
|
||||
|
||||
(define (cdr x)
|
||||
(cdr x))
|
||||
|
||||
(define (zero? n)
|
||||
(= n 0))
|
||||
|
||||
@@ -138,9 +131,6 @@
|
||||
(every pred (cdr list))
|
||||
#f)))
|
||||
|
||||
(define (null? obj)
|
||||
(null? obj))
|
||||
|
||||
(define (any pred list)
|
||||
(if (null? list)
|
||||
#f
|
||||
|
||||
Reference in New Issue
Block a user