Sigbjörn Finne, Daan Leijen, Erik Meijer, and Simon Peyton Jones
The increasing popularity of component-based programming tools offer a big opporunity to designers of advanced programming languages, such as Haskell. If we can package our programs as COM objects, then it is easy to integrate them into applications written in other languages. In earlier work we described a preliminary integration of Haskell with Microsoft's Component Object Model (COM), focusing on how Haskell can create and invoke COM objects. This paper develops that work, concentrating on the mechanisms that support externally-callable Haskell functions, and the encapsulation of a Haskell program as a COM object.
In The International Conference on Functional Programming (ICFP'99), Paris, France
Publisher ACM Press