[Haskell-cafe] [Haskell] [ANN] xls-0.1.0 Parse MS Excel spreadsheets

Henning Thielemann lemming at henning-thielemann.de
Mon Oct 17 09:32:46 UTC 2016


On Mon, 17 Oct 2016, Harendra Kumar wrote:

> I have uploaded the xls package [1] on Hackage [2]. It works pretty well for the basic use case of parsing all
> sheets in a single stream of rows composed of cells. The cell values are presented as plain strings i.e. no data
> type based interpretation. Such stuff can be added if required, it is supported by the underlying C library
> (libxls). One thing that I would like to have added to the API is a way to list all sheets and select sheets to
> parse in a workbook. It should be pretty easy to do if anyone wants to do it.
> 1. https://github.com/harendra-kumar/xls
> 2. https://hackage.haskell.org/package/xls


Btw. I recently found out that a pretty nice and simple format for 
interchange between Haskell, Excel and LibreOffice is the Excel 2003 XML 
format. It supports Unicode, hyperlinks, merged cells, font styles, 
formulas, reliable number formats (no hassle with decimal point vs. 
decimal comma) - neither CSV nor HTML supports all of these features.


More information about the Haskell-Cafe mailing list