mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-15 08:47:35 +02:00
Added stub
This commit is contained in:
parent
f819b9e055
commit
d058f33933
2 changed files with 3 additions and 0 deletions
1
test.scm
1
test.scm
|
@ -24,6 +24,7 @@
|
|||
;(eval '(begin (define (a z) z) (a 1) (a 1)))
|
||||
|
||||
(Cyc-add-exception-handler (lambda (err) (write 'new-ex-handler)))
|
||||
(Cyc-remove-exception-handler)
|
||||
(define test '(a b))
|
||||
(set-car! test '(1 2 3))
|
||||
(write test)
|
||||
|
|
|
@ -69,6 +69,8 @@
|
|||
(foldr (lambda (x y) (cons (func x) y)) '() lst))
|
||||
(define (not x) (if x #f #t))
|
||||
(define (reverse lst) (foldl cons '() lst))
|
||||
; (define (with-exception-handler handler thunk)
|
||||
;
|
||||
))
|
||||
|
||||
;; Built-in macros
|
||||
|
|
Loading…
Add table
Reference in a new issue