Simon Peyton Jones, Erik Meijer, and Daan Leijen
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.
|Published in||Fifth International Conference on Software Reuse (ICSR'98), Victoria, BC, Canada|
|Address||Victoria, B.C., Canada|
|Publisher||IEEE Computer Society Press|
© 1998 IEEE. Personal use of this material is permitted. However, permission to reprint/republish this material for advertising or promotional purposes or for creating new collective works for resale or redistribution to servers or lists, or to reuse any copyrighted component of this work in other works must be obtained from the IEEE.