minimum package:io-streams

minimum stream returns the greatest element in stream minimum consumes the entire stream.
ghci> is <- Streams.fromList [1, 2, 3]
ghci> Streams.minimum is
1
ghci> Streams.read is    -- The stream is now empty
Nothing