minor change in comment layout.
This commit is contained in:
parent
d5b14d4ffc
commit
592baf7c6a
|
@ -3,9 +3,11 @@
|
||||||
;; With callbacks you can create special links that are associated
|
;; With callbacks you can create special links that are associated
|
||||||
;; with a function. If the user clicks on the special callback link,
|
;; with a function. If the user clicks on the special callback link,
|
||||||
;; the send-html/suspend won't return, but the function will be called
|
;; the send-html/suspend won't return, but the function will be called
|
||||||
;; instead. Note: It is not sensible to create callbacks on top level,
|
;; instead.
|
||||||
;; as they contain continuations. You have to create a new callback
|
|
||||||
;; every time you want to use it (inside a function).
|
;; NOTE: It is not sensible to create callbacks on top level, as they
|
||||||
|
;; contain continuations. You have to create a new callback every time
|
||||||
|
;; you want to use it (inside a function).
|
||||||
(define (make-callback function)
|
(define (make-callback function)
|
||||||
(call-with-current-continuation
|
(call-with-current-continuation
|
||||||
(lambda (exit)
|
(lambda (exit)
|
||||||
|
|
Loading…
Reference in New Issue