Example Code for the operational package
- An breadth-first implementation of parser combinators. As this implementation does not back-track, we avoid a common space leak.
- Oleg Kiselyov's
- Correct implementation of the list monad transformer.
- Koen Claessen's poor man's concurrency monad, implements cooperative multitasking.
- Very simple example showing how to implement the state monad.
- The game of TicTacToe. Mix and mash humans and AI as you like; players are implemented in a special monad that looks like there is only one player playing.
- CGI Script that is written in a style seems to require exeution in a persistent process, but actually stores a log of the session in the client.