Move streaming data into its own file
This commit is contained in:
@@ -1,15 +1,15 @@
|
||||
module StreamingHelp
|
||||
( minStreamOn
|
||||
, sortStreamOn
|
||||
, StreamOf
|
||||
, module Streaming
|
||||
, module StreamingHelp.Data
|
||||
) where
|
||||
import Streaming
|
||||
import StreamingHelp.Data
|
||||
import qualified Streaming.Prelude as S
|
||||
import qualified Control.Foldl as L
|
||||
import Data.Function (on)
|
||||
|
||||
type StreamOf a = Stream (Of a) Identity ()
|
||||
|
||||
minStreamOn :: Ord a => (b -> a) -> StreamOf b -> Maybe b
|
||||
{-# INLINE minStreamOn #-}
|
||||
|
||||
Reference in New Issue
Block a user