The ImperativeHaskell package

[ Tags: control, development, embedded, gpl, language, library ] [ Propose Tags ]

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


[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>
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 Apr 26 15:34:38 UTC 2012 by MatthewMirman
Distributions NixOS:2.0.0.1
Downloads 3631 total (327 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-12-25 [all 8 reports]
Hackage Matrix CI

Modules

  • Control
    • Monad
      • Control.Monad.Imperative
        • Control.Monad.Imperative.FunctionFactory
        • Control.Monad.Imperative.Internals
        • Control.Monad.Imperative.Operators

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for ImperativeHaskell-1.0.0.1

[back to package description]
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.