#1474 closed defect (wontfix)
[F-operator] Shift/reset working differently than in guile
Reported by: | megane | Owned by: | Kon Lovett |
---|---|---|---|
Priority: | major | Milestone: | someday |
Component: | extensions | Version: | |
Keywords: | Cc: | ||
Estimated difficulty: |
Description
;; (use-modules (ice-9 control)) ;; (use shift-reset) (let ((captured-k (reset (display (shift f f))))) (display (string-append "str: '" (with-output-to-string (lambda () (captured-k "this should go to the string"))) "'"))) ;; $ csi -qbn test.scm ;; this should go to the stringstr: '' ;; $ guile test.scm ;; str: 'this should go to the string'
Change History (2)
comment:1 Changed 6 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
comment:2 Changed 6 years ago by
I had a short discussion with Kon on IRC and he OK'd this resolution. Just for the record.
Note: See
TracTickets for help on using
tickets.
Known limitation of call/cc implementations:
http://okmij.org/ftp/continuations/against-callcc.html#traps