streamly
streamly copied to clipboard
Use stream instead of list in eqBy parser
Use a stream instead of a list so that we can use any container type.
eqBy :: Monad m => (a -> a -> Bool) -> [a] -> Parser m a ()
Should become:
eqBy :: Monad m => (a -> a -> Bool) -> Stream m a -> Parser m a ()