Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
..
Failed to load latest commit information.
BreadthFirstParsing.hs Add breadt-first parser combinators example.
ListT.hs Initial import from former darcs repository
LogicT.hs `LogicT.hs` example now has `eval` function that handles the `Return`…
PoorMansConcurrency.hs Make concurrency example type check again (issue #3)
Readme.md Attempt to fix links to examples.
State.hs Initial import from former darcs repository
TicTacToe.hs Initial import from former darcs repository
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.