[Haskell-cafe] COM and Haskell

Doug Kirk doug at dkirk.com
Thu Apr 19 22:46:19 EDT 2007

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

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 VBScript.
> Or Python or Perl, or (probably, I'm not sure) Ruby. Or likely many others.
> Sad, but true...
> Paul.
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list