Interpreter with Cont

22 Nov
2011
22 Nov
'11
4:54 a.m.
I would recommend Ralf Hinze's ICFP00 Pearl Deriving Backtracking Monad Transformers http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.34.4164 He starts with a monad transformer expressed as a free term algebra, and shows step-by-step how to transform it to a more efficient context-passing style. He deals with exceptions and backtracking rather than IO; the ideas are quite similar though.
4931
Age (days ago)
4931
Last active (days ago)
0 comments
1 participants
participants (1)
-
oleg@okmij.org