The ImperativeHaskell package

[Tags:gpl, library]

A monad that uses GADTs and continuations to replicate what it is like to program in an imperative language like C, Java or Go with return, for, break, continue, and mutable references.

In Version 2:

For more information see:


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.0.1, 1.0.0.0, 1.0.0.1, 1.1.0.0, 1.1.0.1, 1.1.1.0, 2.0.0.0, 2.0.0.1
Dependencies base (>=4.0 && <5.0), mtl (>=2.0 && <3.0), template-haskell (>=2.6 && <3.0) [details]
License GPL-3
Author Matthew Mirman
Maintainer Matthew Mirman <mmirman@andrew.cmu.edu>
Stability Unknown
Category Control, Embedded, Development, Language
Home page https://github.com/mmirman/ImperativeHaskell
Source repository head: git clone git://github.com/mmirman/ImperativeHaskell.git
Uploaded Thu Jun 7 16:21:36 UTC 2012 by MatthewMirman
Distributions NixOS:2.0.0.1
Downloads 2960 total (55 in the last 30 days)
Votes
1 []
Status Docs uploaded by user
Build status unknown [no reports yet]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for ImperativeHaskell

Readme for ImperativeHaskell-2.0.0.1

Just proof that Haskell' can be truly imperative, and even look like C.

For some background, look in http://kormacode.blogspot.com/2011/11/c-style-haskell_10.html

For an example usage, look in Main.hs.