where is run w/ continuation in 9.0.1?
Closed this issue · 6 comments
JiafengLiao commented
jmoenig commented
call/cc
and run/cc
have been deprecated in v9, they still work for existing projects, but for new ones we now have replaced them with true first-class continuations:
You can use this continuation
together with call
and run
pretty much exactly like you used to use call/cc
and run/cc
, here's an example for how to build the catch/throw
control structure:
Does that make sense to you?
JiafengLiao commented
It make sense for sure. Thank you for the explanation! Great piece of art!
JiafengLiao commented
Is "join input list" deprecated as well btw?
jmoenig commented
JiafengLiao commented
Thanks! It works! Will keep on digging
jmoenig commented
sure, and please don't hesitate to ask if there's anything that raises a question!