@hackage mathlink0.1.0.0

A library for Mathematica's MathLink

  • Installation

  • Dependencies (4)

  • Dependents (1)

    @hackage/acme-everything
  • Package Flags

      32bit
       (off by default)

      Build and link against the 32-bit version of the MathLink library, instead of the 64-bt version.

Provides a simple way to expose Haskell functions to Mathematica via the MathLink interface. One defines a Haskell function of type ML () (a Monad built on top of IO) and provides a pair of Strings that function analogously to the :Pattern: and :Arguments: directives for Mathematica's mprep utility. Data can be marshaled either as an Expression or, more generally, as an instance of the Expressible class. The library does not use or require foreign export declarations, so may be used interactively.