| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Codec.Xlsx.Parser.Internal
- data ParseException = ParseException String
- n :: Text -> Name
- class FromCursor a where
- class FromAttrVal a where
- fromAttribute :: FromAttrVal a => Name -> Cursor -> [a]
- maybeAttribute :: FromAttrVal a => Name -> Cursor -> [Maybe a]
- maybeElementValue :: FromAttrVal a => Name -> Cursor -> [Maybe a]
- maybeFromElement :: FromCursor a => Name -> Cursor -> [Maybe a]
- readSuccess :: a -> Either String (a, Text)
- readFailure :: Text -> Either String (a, Text)
- invalidText :: Text -> Text -> Either String (a, Text)
- defaultReadFailure :: Either String (a, Text)
- boolean :: Monad m => Text -> m Bool
- decimal :: Monad m => Text -> m Int
- rational :: Monad m => Text -> m Double
Documentation
class FromCursor a where Source #
Minimal complete definition
Methods
fromCursor :: Cursor -> [a] Source #
Instances
class FromAttrVal a where Source #
Minimal complete definition
Methods
fromAttrVal :: Reader a Source #
Instances
| FromAttrVal Bool Source # | |
| FromAttrVal Double Source # | |
| FromAttrVal Int Source # | |
| FromAttrVal Text Source # | |
| FromAttrVal PaperSize Source # | See |
| FromAttrVal PageOrder Source # | See |
| FromAttrVal Orientation Source # | See |
| FromAttrVal PrintErrors Source # | See |
| FromAttrVal CellComments Source # | See |
| FromAttrVal ReadingOrder Source # | |
| FromAttrVal PatternType Source # | |
| FromAttrVal LineStyle Source # | |
| FromAttrVal FontVerticalAlignment Source # | |
| FromAttrVal FontUnderline Source # | |
| FromAttrVal FontScheme Source # | |
| FromAttrVal FontFamily Source # | |
| FromAttrVal CellVerticalAlignment Source # | |
| FromAttrVal CellHorizontalAlignment Source # | |
| FromAttrVal PaneState Source # | See |
| FromAttrVal PaneType Source # | See |
| FromAttrVal SheetViewType Source # | See |
fromAttribute :: FromAttrVal a => Name -> Cursor -> [a] Source #
required attribute parsing
maybeAttribute :: FromAttrVal a => Name -> Cursor -> [Maybe a] Source #
parsing optional attributes
maybeElementValue :: FromAttrVal a => Name -> Cursor -> [Maybe a] Source #
maybeFromElement :: FromCursor a => Name -> Cursor -> [Maybe a] Source #