Computer Science · Artificial Intelligence
Haskell as a Controller for Reactive Components
See on the mapAbstract
Component-based development is intended to aid the rapid development of applications, as far as possible, via assembly of re-used parts. It has been suggested that Haskell is well suited to the definition of systems in this way. The major use presented for Haskell's H/Direct interface to Microsoft COM has been the co-ordination of tasks via the Automation model, i.e. as an Automation controller. We present a di#erent model for components, that allows a clean and intuitive notion of composition, and which accommodates components with a strongly reactive behaviour, i.e. which cannot be arbitrarily driven from outside. We show how the notion of reactive types may be used to describe these components and also to compositionally derive an execution model for them. We show how such models can be built and used in Haskell to form a controller without the need for hand-written control code.