Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated the readme to point to the relevant blog post

  • Loading branch information...
commit 6e0825817121f8ce2c24adb505367fc6417e88c2 1 parent b0a8c19
@mmirman authored
View
18 Control/Monad/Imperative.hs
@@ -1,27 +1,13 @@
-----------------------------------------------------------------------------
-- |
-- Module : Control.Monad.Imperative
--- Author : Matthew Mirman ( mmirman@andrew.cmu.edu )
+-- Maintainer : Matthew Mirman <mmirman@andrew.cmu.edu>
-- Stability : experimental
-- Portability : portable
-- Description : A front end for the ImperativeMonad
-- License : GNUv3
--
--- Copyright (C) 2012 Matthew Mirman
---
--- This program is free software: you can redistribute it and/or modify
--- it under the terms of the GNU General Public License as published by
--- the Free Software Foundation, either version 3 of the License, or
--- (at your option) any later version.
---
--- This program is distributed in the hope that it will be useful,
--- but WITHOUT ANY WARRANTY; without even the implied warranty of
--- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--- GNU General Public License for more details.
---
--- You should have received a copy of the GNU General Public License
--- along with this program. If not, see <http://www.gnu.org/licenses/>
-
+-----------------------------------------------------------------------------
module Control.Monad.Imperative (module X) where
import Control.Monad.Imperative.ImperativeMonad as X
View
20 Control/Monad/Imperative/ImperativeMonad.hs
@@ -6,27 +6,13 @@
-----------------------------------------------------------------------------
-- |
-- Module : Control.Monad.Imperative.ImperativeMonad
--- Author : Matthew Mirman ( mmirman@andrew.cmu.edu )
+-- Maintainer : Matthew Mirman <mmirman@andrew.cmu.edu>
-- Stability : experimental
--- Portability : portable
+-- Portability : GADTs, EmptyDataDecls
-- Description : A module for Imperative haskell code.
-- License : GNUv3
--
--- Copyright (C) 2012 Matthew Mirman
---
--- This program is free software: you can redistribute it and/or modify
--- it under the terms of the GNU General Public License as published by
--- the Free Software Foundation, either version 3 of the License, or
--- (at your option) any later version.
---
--- This program is distributed in the hope that it will be useful,
--- but WITHOUT ANY WARRANTY; without even the implied warranty of
--- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--- GNU General Public License for more details.
---
--- You should have received a copy of the GNU General Public License
--- along with this program. If not, see <http://www.gnu.org/licenses/>
-
+-----------------------------------------------------------------------------
module Control.Monad.Imperative.ImperativeMonad
( modifyOp
, if'
View
20 Control/Monad/Imperative/ImperativeOperators.hs
@@ -4,27 +4,13 @@
-----------------------------------------------------------------------------
-- |
-- Module : Control.Monad.Imperative.ImperativeOperators
--- Author : Matthew Mirman ( mmirman@andrew.cmu.edu )
+-- Maintainer : Matthew Mirman <mmirman@andrew.cmu.edu>
-- Stability : experimental
--- Portability : portable
+-- Portability : NoMonomorphismRestriction
-- Description : Some predefined operators for the imperative monad.
-- License : GNUv3
--
--- Copyright (C) 2012 Matthew Mirman
---
--- This program is free software: you can redistribute it and/or modify
--- it under the terms of the GNU General Public License as published by
--- the Free Software Foundation, either version 3 of the License, or
--- (at your option) any later version.
---
--- This program is distributed in the hope that it will be useful,
--- but WITHOUT ANY WARRANTY; without even the implied warranty of
--- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
--- GNU General Public License for more details.
---
--- You should have received a copy of the GNU General Public License
--- along with this program. If not, see <http://www.gnu.org/licenses/>
-
+-----------------------------------------------------------------------------
module Control.Monad.Imperative.ImperativeOperators where
import Control.Monad.Imperative.ImperativeMonad
View
4 ImperativeHaskell.cabal
@@ -24,8 +24,8 @@ Build-type: Simple
Cabal-version: >=1.6
Source-repository head
- type: git
- location: git://github.com/mmirman/ImperativeHaskell.git
+ Type: git
+ Location: git://github.com/mmirman/ImperativeHaskell.git
Library
View
7 README
@@ -1 +1,6 @@
-Just proof that Haskell' can be truly imperative, and even look like C.
+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.
+
Please sign in to comment.
Something went wrong with that request. Please try again.