| Copyright | (c) 2016 Harendra Kumar |
|---|---|
| License | BSD-style |
| Maintainer | harendra.kumar@gmail.com |
| Stability | experimental |
| Portability | GHC |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Xls
Description
Parse Microsoft excel spreadsheet xls file (format BIFF/Excel 97-2004).
Synopsis
- decodeXls :: MonadResource m => FilePath -> ConduitM i [String] m ()
- data XlsException
Documentation
decodeXls :: MonadResource m => FilePath -> ConduitM i [String] m () Source #
Parse a Microsoft excel xls workbook file into a Conduit yielding rows in a worksheet. Each row represented by a list of Strings, each String representing an individual cell.
Currently there is no separation of worksheets, all worksheets in a workbook get concatenated.
Throws XlsException
data XlsException Source #
Constructors
| XlsFileNotFound String | |
| XlsParseError String |
Instances
| Show XlsException Source # | |
Defined in Data.Xls Methods showsPrec :: Int -> XlsException -> ShowS # show :: XlsException -> String # showList :: [XlsException] -> ShowS # | |
| Exception XlsException Source # | |
Defined in Data.Xls Methods toException :: XlsException -> SomeException # fromException :: SomeException -> Maybe XlsException # displayException :: XlsException -> String # | |