cassava- A CSV parsing and encoding library
Safe HaskellNone




(<$!>) :: Monad m => (a -> b) -> m a -> m b infixl 4 Source #

A strict version of <$> for monads.

blankLine :: Vector ByteString -> Bool Source #

Is this an empty record (i.e. a blank line)?

liftM2' :: Monad m => (a -> b -> c) -> m a -> m b -> m c Source #

A version of liftM2 that is strict in the result of its first action.

endOfLine :: Parser () Source #

Match either a single newline character '\n', or a carriage return followed by a newline character "\r\n", or a single carriage return '\r'.

toStrict :: ByteString -> ByteString Source #

O(n) Convert a lazy ByteString into a strict ByteString.

Note that this is an expensive operation that forces the whole lazy ByteString into memory and then copies all the data. If possible, try to avoid converting back and forth between strict and lazy bytestrings.