[racket] call-with-composable-continuation and DrRacket

From: Galler (lzgaller at optonline.net)
Date: Thu Aug 30 18:20:04 EDT 2012

call-with-continuation-prompt is your friend in the definitions window


(call-with-continuation-prompt (λ _  (+ 100
                                          (call-with-composable-continuation
                                           (λ (k) (+ 1000 (k 1))))
                                          )))

;->1201




Posted on the users mailing list.