Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- encodeCsvDefault :: [NamedRecord] -> Text
- decodeCsvDefault :: Bool -> Text -> Either String [NamedRecord]
Documentation
encodeCsvDefault :: [NamedRecord] -> Text Source #
Utility to convert a list of NamedRecord
to Text formatted as a CSV.
decodeCsvDefault :: Bool -> Text -> Either String [NamedRecord] Source #
Utility to decode a CSV into a list of records. Must specify whether the CSV to decode has header or not.