4 ms·
I've seen a lot posts saying condition system in common lisp is unmatched. is there similar thing in scheme?
by ir193 5y ago
I've seen a lot posts saying condition system in common lisp is unmatched. is there similar thing in scheme?
- medo-bear 5y agonot really. i think out of all the schemes Guile might have the most developed condition system https://www.gnu.org/software/guile/manual/html_node/index.html#SEC_Contents https://www.gnu.org/software/guile/manual/html_node/index.ht...
- deleted 5y ago[deleted]
- klibertp 5y agoYou can roll your own with call/cc, but I'm not aware of any out-of-the-box implementation in Schemes. Racket has an exception-handling mechanism, but it's similar to ones from other languages and it doesn't offer restarts. It does also have a more powerful notion of delimited continuations and continuation marks, which would make rolling your own condition system a bit easier (well, discounting the initial research as to what the heck they are in the first place :))