Reading data from Excel in Haskell

扶醉桌前 提交于 2019-12-05 00:11:10

With something like this, if your needs are relatively simple, I've found that it's more straightforward to find/write a command line executable that just pulls out a csv from the xls file. Then you invoke that executable from haskell, and proceed with its output from there.

In Ruby, I use rjb (ruby java bridge) and use a library from Java for excel (e.g. JExcelAPI as explained in http://www.slideshare.net/weyus/rjb).

It seems that there are some Java bridges for Haskell? http://www.haskell.org/haskellwiki/Applications_and_libraries/Interfacing_other_languages#Java Though I have no experience with them...

I wonder whether that's the best solution...

Now there is also xlsx on Hackage (for the Office Open XML xlsx format), although I haven't yet tried it myself.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!