mathlink: A library for Mathematica's MathLink

[ bsd3, foreign, library ] [ Propose Tags ]

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.

Versions [faq],,,,,,,,,,,,
Dependencies array (==0.2.*), base (==4.0.*), containers (==0.2.*), mtl (>= && <1.2) [details]
License BSD-3-Clause
Copyright Copyright (c) Tracy Wadleigh 2008, 2009
Author Tracy Wadleigh
Maintainer <>
Category Foreign
Bug tracker
Uploaded by TracyWadleigh at 2009-01-06T16:49:13Z
Distributions NixOS:
Downloads 7999 total (43 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]





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


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

For package maintainers and hackage trustees