freer-effects 0.3.0.0 → 0.3.0.1
raw patch · 17 files changed
+42/−20 lines, 17 filesdep ~basedep ~hlintnew-uploaderPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: base, hlint
API changes (from Hackage documentation)
Files
- bench/Core.hs +1/−1
- changelog.md +7/−0
- examples/src/Capitalize.hs +6/−1
- examples/src/Common.hs +1/−1
- examples/src/Console.hs +11/−1
- examples/src/Coroutine.hs +1/−1
- examples/src/Cut.hs +1/−1
- examples/src/Fresh.hs +1/−1
- examples/src/Main.hs +1/−1
- examples/src/NonDet.hs +1/−1
- examples/src/Trace.hs +1/−1
- freer-effects.cabal +5/−5
- src/Data/OpenUnion/Internal.hs +1/−1
- tests/Tests.hs +1/−1
- tests/Tests/Common.hs +1/−1
- tests/Tests/Fresh.hs +1/−1
- tests/Tests/NonDet.hs +1/−1
bench/Core.hs view
@@ -7,7 +7,7 @@ {-# LANGUAGE NoMonomorphismRestriction #-} {-# LANGUAGE ScopedTypeVariables #-} {-# LANGUAGE TypeOperators #-}-module Main where+module Main (main) where import Prelude ((-))
changelog.md view
@@ -2,6 +2,12 @@ All notable changes to this project will be documented in this file. +## [0.3.0.1] (April 16, 2017)++* Relax `hlint` version bounds and disable `hlint` tests in non-developer+ builds.+ [#31](https://github.com/IxpertaSolutions/freer-effects/issues/31)+ ## [0.3.0.0] (March 06, 2017) * Package renamed to `freer-effects` to distinguish it from original `freer`.@@ -85,5 +91,6 @@ * Initial release +[0.3.0.1]: https://github.com/IxpertaSolutions/freer/compare/0.3.0.0...0.3.0.1 [0.3.0.0]: https://github.com/IxpertaSolutions/freer/compare/0.2.4.1...0.3.0.0 [0.2.4.1]: https://github.com/IxpertaSolutions/freer/compare/0.2.4.0...0.2.4.1
examples/src/Capitalize.hs view
@@ -2,7 +2,12 @@ {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE GADTs #-} {-# LANGUAGE TypeOperators #-}-module Capitalize where+module Capitalize+ ( Capitalize+ , capitalize+ , runCapitalizeM+ )+ where import Data.Char (toUpper)
examples/src/Common.hs view
@@ -1,4 +1,4 @@-module Common where+module Common (add) where import Control.Applicative
examples/src/Console.hs view
@@ -3,7 +3,17 @@ {-# LANGUAGE TypeOperators #-} {-# LANGUAGE DataKinds #-} {-# LANGUAGE CPP #-}-module Console where+module Console+ ( Console+ , exitSuccess'+ , getLine'+ , putStrLn'+ , runConsole+ , runConsoleM+ , runConsolePure+ , runConsolePureM+ )+ where #if !MIN_VERSION_base(4,8,0) import Control.Applicative (pure)
examples/src/Coroutine.hs view
@@ -1,4 +1,4 @@-module Coroutine where+module Coroutine () where -- import Control.Monad.Freer.Coroutine
examples/src/Cut.hs view
@@ -1,4 +1,4 @@-module Cut where+module Cut () where -- import Control.Monad.Freer.Cut
examples/src/Fresh.hs view
@@ -1,4 +1,4 @@-module Fresh where+module Fresh () where import Control.Monad.Freer.Fresh import Control.Monad.Freer.Trace
examples/src/Main.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE DataKinds #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE LambdaCase #-}-module Main where+module Main (main) where import Control.Monad (forever, when) import Data.List (intercalate)
examples/src/NonDet.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE FlexibleContexts #-}-module NonDet where+module NonDet () where import Control.Applicative import Control.Monad
examples/src/Trace.hs view
@@ -1,6 +1,6 @@ {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE NoMonomorphismRestriction #-}-module Trace where+module Trace () where import Control.Monad.Freer import Control.Monad.Freer.Reader
freer-effects.cabal view
@@ -1,5 +1,5 @@ name: freer-effects-version: 0.3.0.0+version: 0.3.0.1 synopsis: Implementation of effect system for Haskell. description: Implementation of effect system for Haskell, which is based on the work of@@ -44,7 +44,7 @@ source-repository this type: git location: https://github.com/IxpertaSolutions/freer-effects.git- tag: 0.3.0.0+ tag: 0.3.0.1 flag pedantic description: Pass additional warning flags and -Werror to GHC.@@ -53,7 +53,7 @@ flag test-hlint description: Enable test suite that checks sources using HLint.- default: True+ default: False manual: True library@@ -156,8 +156,8 @@ if flag(test-hlint) buildable: True build-depends:- base >=4.8 && <5.0- , hlint ==1.9.*+ base >=4.7 && <5.0+ , hlint >=1.9 else buildable: False
src/Data/OpenUnion/Internal.hs view
@@ -44,7 +44,7 @@ -- Therefore, we can use a @Typeable@-like evidence in that universe. In our -- case a simple index of an element in the type-list is sufficient -- substitution for @Typeable@.-module Data.OpenUnion.Internal+module Data.OpenUnion.Internal (module Data.OpenUnion.Internal) where import Prelude ((+), (-))
tests/Tests.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE CPP #-}-module Main where+module Main (main) where #if !MIN_VERSION_base(4,8,0) import Control.Applicative
tests/Tests/Common.hs view
@@ -1,4 +1,4 @@-module Tests.Common where+module Tests.Common (add) where import Control.Applicative
tests/Tests/Fresh.hs view
@@ -1,4 +1,4 @@-module Tests.Fresh where+module Tests.Fresh (module Tests.Fresh) where import Control.Monad import Control.Monad.Freer
tests/Tests/NonDet.hs view
@@ -1,5 +1,5 @@ {-# LANGUAGE FlexibleContexts #-}-module Tests.NonDet where+module Tests.NonDet (module Tests.NonDet) where import Control.Applicative import Control.Monad