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 |
Synopsis
- type Separator = Word8
- comma :: Separator
- pipe :: Separator
- tab :: Separator
- class HasSeparator c where
- data Headedness
- class HasHeadedness c where
Documentation
class HasSeparator c where Source #
Classy lens for Separator
Instances
HasSeparator Word8 Source # | |
HasSeparator EncodeOptions Source # | |
Defined in Data.Sv.Encode.Options |
data Headedness Source #
Does the CSV have a Header
or not? A header is a row at the beginning
of a file which contains the string names of each of the columns.
If a header is present, it must not be decoded with the rest of the data.
Instances
Eq Headedness Source # | |
Defined in Data.Sv.Structure.Headedness (==) :: Headedness -> Headedness -> Bool # (/=) :: Headedness -> Headedness -> Bool # | |
Ord Headedness Source # | |
Defined in Data.Sv.Structure.Headedness compare :: Headedness -> Headedness -> Ordering # (<) :: Headedness -> Headedness -> Bool # (<=) :: Headedness -> Headedness -> Bool # (>) :: Headedness -> Headedness -> Bool # (>=) :: Headedness -> Headedness -> Bool # max :: Headedness -> Headedness -> Headedness # min :: Headedness -> Headedness -> Headedness # | |
Show Headedness Source # | |
Defined in Data.Sv.Structure.Headedness showsPrec :: Int -> Headedness -> ShowS # show :: Headedness -> String # showList :: [Headedness] -> ShowS # | |
HasHeadedness Headedness Source # | |
Defined in Data.Sv.Structure.Headedness |
class HasHeadedness c where Source #
Classy lens for Headedness
headedness :: Lens' c Headedness Source #
Instances
HasHeadedness Headedness Source # | |
Defined in Data.Sv.Structure.Headedness |