packages feed

streaming-sort 0.1.0.1 → 0.1.0.2

raw patch · 3 files changed

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

API removals or changes: PVP suggests a major version bump

API changes (from Hackage documentation)

- Streaming.Sort.Lifted: withFileSort :: (Ord a, Binary a, Withable w, MonadMask (WithMonad w), MonadIO (WithMonad w), MonadThrow m, MonadIO m) => Config -> Stream (Of a) (WithMonad w) v -> w (Stream (Of a) m ())
+ Streaming.Sort.Lifted: withFileSort :: (Ord a, Binary a, Withable w, MonadThrow m, MonadIO m) => Config -> Stream (Of a) (WithMonad w) v -> w (Stream (Of a) m ())
- Streaming.Sort.Lifted: withFileSortBy :: (Binary a, Withable w, MonadMask (WithMonad w), MonadIO (WithMonad w), MonadThrow m, MonadIO m) => Config -> (a -> a -> Ordering) -> Stream (Of a) (WithMonad w) v -> w (Stream (Of a) m ())
+ Streaming.Sort.Lifted: withFileSortBy :: (Binary a, Withable w, MonadThrow m, MonadIO m) => Config -> (a -> a -> Ordering) -> Stream (Of a) (WithMonad w) v -> w (Stream (Of a) m ())

Files

ChangeLog.md view
@@ -1,5 +1,10 @@ # Revision history for streaming-sort +## 0.1.0.2 -- 2018-03-23++* Remove extraneous constraints in `Streaming.Sort.Lifted` (`Withable`+  implies `MonadMask` and `MonadIO`).+ ## 0.1.0.1 -- 2018-03-23  * Remove accidental `Ord a` constraint on `withFileSortBy` in
src/Streaming/Sort/Lifted.hs view
@@ -37,7 +37,7 @@                                  sortBy, sortOn, useDirectory) import qualified Streaming.Sort as SS -import Control.Monad.Catch    (MonadMask, MonadThrow)+import Control.Monad.Catch    (MonadThrow) import Control.Monad.IO.Class (MonadIO) import Data.Binary            (Binary) import Streaming.Prelude      (Of, Stream)@@ -70,9 +70,7 @@ --   These files are stored inside the specified directory if --   provided; if no such directory is provided then the system --   temporary directory is used.-withFileSort :: (Ord a, Binary a-                , Withable w, MonadMask (WithMonad w), MonadIO (WithMonad w)-                , MonadThrow m, MonadIO m)+withFileSort :: (Ord a, Binary a, Withable w, MonadThrow m, MonadIO m)                 => Config -> Stream (Of a) (WithMonad w) v                 -> w (Stream (Of a) m ()) withFileSort cfg str = liftWith (SS.withFileSort cfg str)@@ -84,9 +82,7 @@ --   These files are stored inside the specified directory if --   provided; if no such directory is provided then the system --   temporary directory is used.-withFileSortBy :: (Binary a, Withable w-                  , MonadMask (WithMonad w), MonadIO (WithMonad w)-                  , MonadThrow m, MonadIO m)+withFileSortBy :: (Binary a, Withable w, MonadThrow m, MonadIO m)                   => Config -> (a -> a -> Ordering)                   -> Stream (Of a) (WithMonad w) v                   -> w (Stream (Of a) m ())
streaming-sort.cabal view
@@ -1,5 +1,5 @@ name:                streaming-sort-version:             0.1.0.1+version:             0.1.0.2 synopsis:            Sorting streams description:         Sort streaming values, using files for a cached merge-sort of long @Stream@s. license:             MIT