sv-core-0.4: Encode and decode separated values (CSV, PSV, ...)

Data.Sv.Structure.Separator

Description

Synopsis

# Documentation

By what are your values separated? The answer is often comma, but not always.

A Separator is just a Word8. It could be a sum type instead, since it will usually be comma or pipe, but our preference has been to be open here so that you can use whatever you'd like.

The venerable comma separator. Used for CSV documents.

The pipe separator. Used for PSV documents.

Tab is a separator too - why not?

class HasSeparator c where Source #

Classy lens for Separator

Methods

Instances
 Source # Instance detailsDefined in Data.Sv.Structure.Separator Methods Source # Instance detailsDefined in Data.Sv.Encode.Options Methods