Foreign exchange at low, low rates a lightweight FFI for web-targeting Haskell dialects

Anton Ekblad · 2015

We present a novel yet simple foreign function interface, designed for web-targeting Haskell dialects but also applicable to a wider range of high-level target languages. The interface automates marshalling, eliminates boilerplate code, allows increased sanity checking of external data, allows the import of functions as well as arbitrary expressions of JavaScript code, and is implementable as a plain Haskell '98 library without any modification to the Haskell compiler or environment.

Read the paper · More papers on PaperTik