|
There is no tutorial yet, but the "Haskell as an Automation controller" paper contains
a good introduction.
Conference papers
- Haskell as an Automation controller [ps]
Daan Leijen, Erik Meijer and James Hook. Volume 1608 of Springer Lecture Notes
in Computer Science (LNCS),
3rd International Summershool on
Advanced Functional Programming, Braga, Portugal, 1999.
An introduction to using (automation) COM components from Haskell and how to write
hybrid applications with Haskell, J++ and VB. All the
examples discussed in the article are included in the
HaskellScript release.
- Client-side Web Scripting with
HaskellScript
[ps]
Erik Meijer, Daan Leijen and James Hook. Proceedings of Practical Aspects of Declarative
Languages (PADL), 1998.
Using client-side scripting it is possible to build interactive web pages that don't need round-trips to the server for every user-event. The web browser exposes itself to the script via an object model (DOM), which means that scripts can add and remove page content, or change the position and color of elements via their style attributes. We explain the object model as implemented by Microsoft Internet Explorer by means of examples and report on our experiences of using Haskell as a programming language for client-side web scripting using the HaskellScript scripting engine.
- Scripting COM components in Haskell
[ps]
Simon L. Peyton-Jones, Erik Meijer and Daan Leijen. Fifth International Conference on Software Reuse (ICSR5),
Victoria, Canada, 1998.
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 hard to 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.
Master thesis
- Functional Components (COM components in Haskell)
[ps]
Daan Leijen. Master thesis, University of Amsterdam, June 1998.
This is my master thesis on which HaskellDirect is based. Contains lots of background information about COM and the Haskell to COM
binding, together with some nice examples.
|