added 'more: systems' doc
svn: r8341 original commit: b014545c7a7de0d7599a9383af830821f832ddb8
This commit is contained in:
parent
dbd9978f63
commit
ac830fc73e
|
@ -1,6 +1,8 @@
|
||||||
(module control mzscheme
|
(module control mzscheme
|
||||||
|
|
||||||
(provide fcontrol %
|
(provide abort
|
||||||
|
|
||||||
|
fcontrol %
|
||||||
|
|
||||||
control prompt control-at prompt-at
|
control prompt control-at prompt-at
|
||||||
;; `-at' variations expect a prompt tag
|
;; `-at' variations expect a prompt tag
|
||||||
|
@ -16,6 +18,13 @@
|
||||||
|
|
||||||
new-prompt set cupto)
|
new-prompt set cupto)
|
||||||
|
|
||||||
|
;; ----------------------------------------
|
||||||
|
|
||||||
|
(define (abort . vals)
|
||||||
|
(abort-current-continuation
|
||||||
|
(default-continuation-prompt-tag)
|
||||||
|
(lambda () (apply values vals))))
|
||||||
|
|
||||||
;; ----------------------------------------
|
;; ----------------------------------------
|
||||||
;; Sitaram, PLDI'93
|
;; Sitaram, PLDI'93
|
||||||
;; The `%' here is compable with Sitaram & Felleisen, LSC'90,
|
;; The `%' here is compable with Sitaram & Felleisen, LSC'90,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user