Copyright | (C) CSIRO 2017-2018 |
---|---|
License | BSD3 |
Maintainer | George Wilson <george.wilson@data61.csiro.au> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | Safe |
Language | Haskell2010 |
A sum type for space characters
Documentation
type Separator = Char Source #
By what are your values separated? The answer is often comma
, but not always.
A Separator
is just a Char
. 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. There are test cases, for example,
ensuring that you're free to use null-byte separated values if you so desire.
class HasSeparator c where Source #
Classy lens for Separator
Instances
HasSeparator Char Source # | |
HasSeparator (Sv s) Source # | |
HasSeparator (ParseOptions s) Source # | |
Defined in Data.Svfactor.Parse.Options |