hashmaps can now be printed and keys deleted

This commit is contained in:
Felix Brendel
2019-10-06 18:57:15 +02:00
parent a0c4b16629
commit c80478a2cb
5 changed files with 54 additions and 2 deletions
+10
View File
@@ -7,6 +7,16 @@
(define-syntax (pe expr)
`(print ',expr "evaluates to" ,expr))
(define the-empty-stream ())
(define (stream-null? s) (if s t ()))
(define-syntax (delay expr)
`(,lambda () ,expr))
(define (force promise)
(promise))
(define-syntax (when condition . body)
:doc "Special form for when multiple actions should be done if a
condition is true.