prologue 3.1.6 → 3.1.7
raw patch · 2 files changed
+3/−3 lines, 2 filesPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
API changes (from Hackage documentation)
- Prologue.Control.Error: unsafeRead :: Read a => String -> a
+ Prologue.Control.Error: unsafeRead :: forall a. Read a => String -> a
Files
- prologue.cabal +2/−2
- src/Prologue/Control/Error.hs +1/−1
prologue.cabal view
@@ -2,10 +2,10 @@ -- -- see: https://github.com/sol/hpack ----- hash: 93924f91fadef97edd78ddbaa2fbdda64321ea48a9f73656b565df564606c97c+-- hash: 3fe730e269997bb415be310c9f50e763eb75d92f00169835ab0d84a1b22fca2e name: prologue-version: 3.1.6+version: 3.1.7 synopsis: Better, more general Prelude exporting common utilities. description: Replacement for the Haskell's Prelude, exposing more commonly used functions and patching old GHC ones to behave in the newest GHC's way. category: control
src/Prologue/Control/Error.hs view
@@ -25,7 +25,7 @@ unsafeFoldr1 :: (a -> a -> a) -> [a] -> a unsafeFoldl1 :: (a -> a -> a) -> [a] -> a unsafeFoldl1' :: (a -> a -> a) -> [a] -> a-unsafeRead :: Read a => String -> a+unsafeRead :: forall a. Read a => String -> a unsafeTail = P.tail ; {-# INLINE unsafeTail #-} unsafeInit = P.init ; {-# INLINE unsafeInit #-} unsafeHead = P.head ; {-# INLINE unsafeHead #-}