Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Haskell [easily] do COM?

Tags:

haskell

com

Alright, so I don't really know much about COM. What I do know is that if you write code in one of the Microsoft-sponsored programming languages, then you can write something like 3 lines of code to launch Excel, open a blank workbook, stuff some data into the cells and tell Excel to graph it. But I have no idea how this black magic actually works; all I know is that it's related to COM somehow.

Is it possible to do this kind of thing with Haskell? Is it "easy", or is it going to be hellishly difficult? Because if it's easy, I might try and get this to work, but if it's really hard, there are simpler ways to make Excel graph things...

I'm aware that you don't actually need to learn COM just to graph stuff. (E.g., I could use GraphVis or GNUplot, or Google Chart, or write a small Cairo function, or...) I'm interested in how easy or hard it is to do COM with Haskell, and this is just a motivating example.

like image 623
MathematicalOrchid Avatar asked Oct 21 '22 06:10

MathematicalOrchid


1 Answers

HDirect used to be the standard, as it was last uploaded 3 years ago I imagine it's bitrotted a fair bit.

Looks like there's a new package aimed at doing the same sorts of things.

like image 157
GS - Apologise to Monica Avatar answered Oct 30 '22 01:10

GS - Apologise to Monica