a little scheme

This commit is contained in:
Geir Okkenhaug Jerstad 2024-08-20 19:10:43 +02:00
parent c43a63cc2e
commit 4a5b13324f
3 changed files with 1269 additions and 0 deletions

File diff suppressed because it is too large Load diff

11
little_schemer/tls.ss Normal file
View file

@ -0,0 +1,11 @@
(define atom?
(lambda (x)
(and (not (pair? x)) (not (null? x)))))
(define add1
(lambda (x)
(+ x 1)))
(define sub1
(lambda (x)
(- x 1)))