Share on Facebook Tweet on Twitter Share on LinkedIn Share by email
H/Direct: A Binary Foreign Language Interface to Haskell

Sigbjörn Finne, Daan Leijen, Erik Meijer, and Simon Peyton Jones


H/Direct is a foreign-language interface for the purely functional language Haskell. Rather than rely on host-language type signatures, H/Direct compiles Interface Definition Language (IDL) to Haskell stub code that marshals data across the interface. This approach allows Haskell to call both C and COM, and allows a Haskell component to be wrapped in a C or COM interface. IDL is a complex language and in contrast, we provide a relatively formal and precise definition of the mapping between Haskell and IDL.


Publication typeInproceedings
Published inProceedings of the ACM SIGPLAN International Conference on Functional Programming (ICFP'98)
SeriesACM SIGPLAN Notices
AddressBaltimore, USA
> Publications > H/Direct: A Binary Foreign Language Interface to Haskell