ImperativeHaskell 0.1.0.0 → 0.1.0.1
raw patch · 4 files changed
+14/−59 lines, 4 filesdep ~basePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- Control/Monad/Imperative.hs +2/−16
- Control/Monad/Imperative/ImperativeMonad.hs +3/−17
- Control/Monad/Imperative/ImperativeOperators.hs +3/−17
- ImperativeHaskell.cabal +6/−9
Control/Monad/Imperative.hs view
@@ -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
Control/Monad/Imperative/ImperativeMonad.hs view
@@ -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'
Control/Monad/Imperative/ImperativeOperators.hs view
@@ -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
ImperativeHaskell.cabal view
@@ -1,10 +1,11 @@ Name: ImperativeHaskell-Version: 0.1.0.0+Version: 0.1.0.1 Description: 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.+Synopsis: A library for writing Imperative style haskell. Homepage: https://github.com/mmirman/ImperativeHaskell @@ -22,6 +23,10 @@ Cabal-version: >=1.6 +Source-repository head+ Type: git+ Location: git://github.com/mmirman/ImperativeHaskell.git+ Library Build-depends: base >= 4.0 && < 5.0, @@ -33,11 +38,3 @@ Extensions: GADTs, EmptyDataDecls, NoMonomorphismRestriction -Executable test1- Main-is: Main.hs- Other-Modules: Control.Monad.Imperative- Build-depends: base- -source-repository head- type: git- location: git://github.com/mmirman/ImperativeHaskell.git