streamly icon indicating copy to clipboard operation
streamly copied to clipboard

Use stream instead of list in eqBy parser

Open harendra-kumar opened this issue 3 years ago • 0 comments

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 ()

harendra-kumar avatar Sep 19 '22 20:09 harendra-kumar