Skip to content
Find file History
..
Failed to load latest commit information.
BreadthFirstParsing.hs Add breadt-first parser combinators example. Jun 22, 2012
ListT.hs Initial import from former darcs repository Aug 27, 2011
LogicT.hs `LogicT.hs` example now has `eval` function that handles the `Return`… Jan 7, 2015
PoorMansConcurrency.hs
Readme.md Attempt to fix links to examples. Feb 18, 2013
State.hs Initial import from former darcs repository Aug 27, 2011
TicTacToe.hs Initial import from former darcs repository Aug 27, 2011
WebSessionState.lhs

Readme.md

Example Code for the operational package

BreadthFirstParsing.hs
An breadth-first implementation of parser combinators. As this implementation does not back-track, we avoid a common space leak.
LogicT.hs
Oleg Kiselyov's LogicT monad transformer.
ListT.hs
Correct implementation of the list monad transformer.
PoorMansConcurrency.hs
Koen Claessen's poor man's concurrency monad, implements cooperative multitasking.
State.hs
Very simple example showing how to implement the state monad.
TicTacToe.hs
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.
WebSessionState.lhs
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.
Something went wrong with that request. Please try again.