[ prog / sol / mona ]

prog


Lisp beginner thread

38 2020-05-23 18:41

>>36,37

“The Seasoned Schemer” (ISBN 978-0-262-56100-6) mentioned earlier discusses continuations and their utility in Chapter 13 with many example problems, I doubt this chapter displays their full power however.

Apparently, Chapter 19 also concerns continuations, where their full power is used if I understand correctly (as goto rather than return). This show of power is limited to normal functions though generic abstractions such as threading, exceptions, generators, etc. are not covered. It also does not mention the necessity of or even utility of the `dynamic-wind' function, which seems to be critical. I also recently found the following article which might be of interest, it gives some ideas for what can be implemented without doing so, effectively leaving them as an exercise to the reader:

http://matt.might.net/articles/programming-with-continuations--exceptions-backtracking-search-threads-generators-coroutines/

132


VIP:

do not edit these