packages feed

comonad 3.0.2 → 3.0.3

raw patch · 3 files changed

+11/−3 lines, 3 filesPVP ok

version bump matches the API change (PVP)

API changes (from Hackage documentation)

Files

CHANGELOG.markdown view
@@ -1,3 +1,7 @@+3.0.3+-----+* Trustworthy or Safe depending on GHC version+ 3.0.2 ------- * GHC 7.7 HEAD compatibility
comonad.cabal view
@@ -1,6 +1,6 @@ name:          comonad category:      Control, Comonads-version:       3.0.2+version:       3.0.3 license:       BSD3 cabal-version: >= 1.10 license-file:  LICENSE
src/Control/Comonad.hs view
@@ -1,7 +1,11 @@ {-# LANGUAGE CPP #-}+#ifdef __GLASGOW_HASKELL__ #if __GLASGOW_HASKELL__ >= 707-{-# LANGUAGE DeriveDataTypeable, StandaloneDeriving #-}+{-# LANGUAGE DeriveDataTypeable, StandaloneDeriving, Safe #-}+#elif __GLASGOW_HASKELL__ >= 702+{-# LANGUAGE Trustworthy #-} #endif+#endif  ----------------------------------------------------------------------------- -- | -- Module      :  Control.Comonad@@ -318,7 +322,7 @@  instance Applicative (Cokleisli w a) where   pure = Cokleisli . const-  Cokleisli f <*> Cokleisli a = Cokleisli (\w -> (f w) (a w))+  Cokleisli f <*> Cokleisli a = Cokleisli (\w -> f w (a w))  instance Monad (Cokleisli w a) where   return = Cokleisli . const