packages feed

applicative-extras 0.1.6 → 0.1.7

raw patch · 2 files changed

+2/−17 lines, 2 filesdep ~mtlPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: mtl

API changes (from Hackage documentation)

- Control.Applicative.State: instance Applicative (State a)

Files

− Control/Applicative/State.hs
@@ -1,14 +0,0 @@-module Control.Applicative.State (module Control.Monad.State) where--import Control.Applicative-import Control.Monad.State--{- A state idiom. -}--- the freedom in reordering the effectful part of the computation comes--- in that we can pass the state first to f and then to v or first to v and --- then to s.  With monads we must first pass the state to f because--- of the type of >>=.--instance Applicative (State a) where-   pure  = return-   (<*>) = ap
applicative-extras.cabal view
@@ -1,5 +1,5 @@ Name:            applicative-extras-Version:         0.1.6+Version:         0.1.7 Synopsis:        Instances for Applicative Description:     Some instances for applicative functors and type-level                  composition. Forkable on github.@@ -11,7 +11,6 @@ Maintainer:      Chris Eidhof <ce+hackage@tupil.com> Exposed-Modules:   Control.Applicative.Compose                  , Control.Applicative.Error-                 , Control.Applicative.State                  , Control.Applicative.Backwards Build-Type:      Simple-Build-Depends:   base >= 3 && < 5, haskell98, mtl+Build-Depends:   base >= 3 && < 5, haskell98, mtl >= 2 && < 3