Next Previous Contents

1. Introduction

This document describes how to use HaskellDirect (HDirect), a foreign function interface framework for Haskell. HDirect is based around the use of an Interface Definition Language (IDL) to specify a programming interface in a programming language independent manner. Why is this of use to the Haskell programmer?

This document introduces the various features of IDL and what it corresponds to in Haskell by a series of examples, covering the different modes of operation just outlined. An exact definition of IDL is not presented, instead we introduce the features you're most likely to need by way of examples, but give instead pointers to IDL specifications and other resources at the end.

But, before presenting examples of IDL can be made use of, let's start off by motivating the need for IDL and HaskellDirect a little.


Next Previous Contents