[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: continuations and threads

This page is part of the web mail archives of SRFI 18 from before July 7th, 2015. The new archives for SRFI 18 contain all messages, not just those from before July 7th, 2015.

Marc, my gut feeling is that exceptions and threads would take you far. 
Especially the pattern matching example can be dealt with thru an exception 

 (with-handlers ((umatched? next-pattern))
   ... match pattern (raise (make-unmatched "...")) ...)

would work just fine, especially since all functions could be global or in
a letrec, whatever is faster. 

-- Matthias

P.S. I like elephants with trunks, too :-)