compiler: can now implement functions
This commit is contained in:
1 parent
e055cfe88f
commit
a37ec816e6
2 files changed
+71
-8
No files matched your search
+3
-1
@@ -1,3 +1,5 @@
|
||||
(define x 1)
|
||||
|
||||
(display (sum x 1))
|
||||
(define inc (lambda (n) (sum n 1)))
|
||||
|
||||
(display (inc x))
|
||||
Reference in new issue
Block a user