Sample implementation no longer appears to work on Chez 10
Daphne Preston-Kendal 08 Jan 2025 09:59 UTC
See the subject line. Alas, I can’t offer much more help than this REPL transcript:
Chez Scheme Version 10.1.0
Copyright 1984-2024 Cisco Systems, Inc.
> (import (control-features))
> (define my-tag (make-continuation-prompt-tag 'foo))
> (continuation-prompt-available? my-tag)
Exception in dynamic-environment-metacontinuation: #f is not of type #<record type dynamic-environment>
Type (debug) to enter the debugger.
> (call-with-continuation-prompt (lambda () (continuation-prompt-available? my-t
ag)) my-tag)
Exception in dynamic-environment-marks: #f is not of type #<record type dynamic-environment>
Type (debug) to enter the debugger.
> (with-continuation-mark 'magic #t (current-continuation-marks))
Exception: failed assertion continuation at line 436, char 10 of control-features.sls
Type (debug) to enter the debugger.
Daphne