interlude-l 0.1.0.8 → 0.2.0.0
raw patch · 2 files changed
+5/−4 lines, 2 filesdep ~lensPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: lens
API changes (from Hackage documentation)
Files
- interlude-l.cabal +2/−2
- src/Interlude.hs +3/−2
interlude-l.cabal view
@@ -1,5 +1,5 @@ name: interlude-l -version: 0.1.0.8 +version: 0.2.0.0 synopsis: Prelude replacement based on protolude description: Prelude replacement based on protolude license: MIT @@ -20,7 +20,7 @@ , string-conv == 0.1.* , exceptions == 0.8.* , mtl == 2.2.* - , lens == 4.14.* + , lens >= 4.14 && < 4.16 , aeson >= 0.11 && < 1.1 , witherable == 0.1.* , transformers == 0.5.*
src/Interlude.hs view
@@ -1,12 +1,13 @@ {-# LANGUAGE UndecidableInstances, MultiParamTypeClasses, FlexibleInstances, FlexibleContexts - , NoMonomorphismRestriction, OverloadedStrings #-} + , NoMonomorphismRestriction, OverloadedStrings #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Interlude ( module X, unsafeTail, unsafeHead, unsafeLast, unsafeInit , pshow, perror, pread, noWarnUndefined, perrorToFile ) where import qualified Prelude import Protolude as X hiding ( (&), catch, try, (<.>), wait, error, filter, ordNub - , catMaybes, mapMaybe, handle, catches, Handler(..) ) + , catMaybes, mapMaybe, handle, catches, Handler(..) + , (<$!>) ) import Prelude as X (error) import Control.Monad.Catch as X ( MonadThrow, MonadCatch, catch, throwM, try, handle, catches , Handler(..), handleIf, catchIf )