Scripting COM components from Haskell

Simon Peyton Jones, Erik Meijer, and Daan Leijen

Abstract

The expresiveness of higher-order, typed languages such as Haskell or ML makes them an attractive medium in which to write software components. Hitherto, however, their use has been limited by the all-or-nothing problem: it is hardto write just part of an application in these languages. Component-based programming using a binary standard such as Microsofts's Component Object Model (COM) offers a solution to this dilemma, by specifying a language-independent interface between components. This paper reports about our experience with exploiting this opportunity in the purely funtional language Haskell. We describe a design for integrating COM components into Haskell programs, and we demonstrate why someone might want to script their COM components this way.

Details

Publication typeInproceedings
Published inFifth International Conference on Software Reuse (ICSR'98), Victoria, BC, Canada
AddressVictoria, B.C., Canada
PublisherIEEE Computer Society Press
> Publications > Scripting COM components from Haskell