Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (define call/cc call-with-current-continuation)
- (define inner (lambda (throw)
- (throw 'lol)
- (display "hey")))
- (define (try whatdo whatdoerror)
- (define res (call-with-current-continuation
- (lambda (do-exit)
- (letrec ((inner whatdo))
- (inner do-exit)))))
- (display res))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement