packages feed

prelude-extras 0.4.0.1 → 0.4.0.2

raw patch · 3 files changed

+9/−1 lines, 3 filesPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Prelude.Extras: infixr 4 >##
- Prelude.Extras: class Eq1 f
+ Prelude.Extras: class Eq1 f where (==#) = (==)
- Prelude.Extras: class Eq2 f
+ Prelude.Extras: class Eq2 f where (==##) = (==)
- Prelude.Extras: class Eq1 f => Ord1 f
+ Prelude.Extras: class Eq1 f => Ord1 f where compare1 = compare
- Prelude.Extras: class Eq2 f => Ord2 f
+ Prelude.Extras: class Eq2 f => Ord2 f where compare2 = compare
- Prelude.Extras: class Read1 f
+ Prelude.Extras: class Read1 f where readsPrec1 = readsPrec readList1 = readPrec_to_S (list readPrec1) 0
- Prelude.Extras: class Read2 f
+ Prelude.Extras: class Read2 f where readsPrec2 = readsPrec readList2 = readPrec_to_S (list readPrec2) 0
- Prelude.Extras: class Show1 f
+ Prelude.Extras: class Show1 f where showsPrec1 = showsPrec showList1 ls s = showList__ shows1 ls s
- Prelude.Extras: class Show2 f
+ Prelude.Extras: class Show2 f where showsPrec2 = showsPrec showList2 ls s = showList__ shows2 ls s

Files

CHANGELOG.markdown view
@@ -1,3 +1,7 @@+0.4.0.2+-------+* Mark `Prelude.Extras` as Trustworthy+ 0.4.0.1 ------- * Added instances for the types in base where possible
prelude-extras.cabal view
@@ -1,6 +1,6 @@ name:          prelude-extras category:      Polymorphism, Combinators-version:       0.4.0.1+version:       0.4.0.2 license:       BSD3 cabal-version: >= 1.6 license-file:  LICENSE
src/Prelude/Extras.hs view
@@ -6,6 +6,10 @@ #define DEFAULT_SIGNATURES {-# LANGUAGE DefaultSignatures #-} #endif+#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 701+-- GHC.Conc isn't generally safe, but we're just using TVar+{-# LANGUAGE Trustworthy #-}+#endif  #ifndef MIN_VERSION_base #define MIN_VERSION_base(x,y,z) 1