[Haskell-cafe] COM and Haskell

Tim Docker timd at macquarie.com.au
Thu Apr 19 23:06:49 EDT 2007

There are also equivalent libraries (for producing xls files without
excel) for

python: http://sourceforge.net/projects/pyexcelerator
perl:   http://search.cpan.org/dist/Spreadsheet-WriteExcel/

so you don't have to use java...


-----Original Message-----
From: haskell-cafe-bounces at haskell.org
[mailto:haskell-cafe-bounces at haskell.org] On Behalf Of Doug Kirk
Sent: Friday, 20 April 2007 12:46 PM
To: haskell-cafe at haskell.org
Subject: Re: [Haskell-cafe] COM and Haskell

I hate to recommend Java to Haskellers, but there is a project named Poi
at Apache's Jakarta site[1] that will allow you to (with some Java
programming) read, write, and manipulate Excel files directly. You don't
have to COM to Excel, you don't even need Excel installed! Nice for
producing spreadsheets for download from a web-based app on the fly.

It is complete enough to do formatting, formulas, and such, but you can
see the ugly internals of the Microsoft file formats bleeding out, or at
least that was true 4 years ago.

Maybe it would be a nice project to create a Haskell version of Poi.


[1] <http://jakarta.apache.org/poi/>

On 4/19/07, Paul Moore <p.f.moore at gmail.com> wrote:
> On 19/04/07, Marc Weber <marco-oweber at gmx.de> wrote:
> > There is only one library: hdirect. But I don't know its status 
> > there have been some posts and some authors may have chnaged it.
> > I'd suggest grepping some mailinglist archives (you can find them 
> > all on
> > haskell.org) or wait till someone else gives a more helpful reply ;)
> I tried quite a while ago to build hdirect, and failed. It looked like

> it didn't quite support the then-current GHC (6.2???) As far as I can 
> tell, the library hasn't been updated since, so I doubt there's much 
> hope. I'd love to be proved wrong...
> > If you application will be only small you'll be faster using
> Or Python or Perl, or (probably, I'm not sure) Ruby. Or likely many
> Sad, but true...
> Paul.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
Haskell-Cafe mailing list
Haskell-Cafe at haskell.org

More information about the Haskell-Cafe mailing list