mathlink: Call Haskell from Mathematica

[ 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 IO () and provides a pair of Strings that function analogously to the :Pattern: and :Arguments: directives for Mathematica's mprep utility.

Data whose types are instances of the Expressible class can be marshaled to/from Mathematica. The library already provides instances for many data types, including tuples, lists, and unboxed arrays.

The library does not use or require foreign export declarations, so may be used interactively.

Modules

[Last Documentation]

  • Foreign
    • Foreign.MathLink
      • Foreign.MathLink.Expressible
      • Foreign.MathLink.IO

Flags

Automatic Flags
NameDescriptionDefault
32bit

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

Disabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.0.1, 0.1.0.2, 1.0.0.0, 1.0.0.1, 1.1.0.0, 1.1.0.1, 1.1.0.2, 2.0.0.3, 2.0.0.4, 2.0.0.5, 2.0.0.7, 2.0.1.1
Dependencies array (>=0.2 && <0.3), base (>=4.0 && <4.1), containers (>=0.2 && <0.3), mtl (>=1.1.0.2 && <1.2) [details]
License BSD-3-Clause
Copyright Copyright (c) Tracy Wadleigh 2008, 2009
Author Tracy Wadleigh
Maintainer <tracy.wadleigh@gmail.com>
Category Foreign
Home page http://community.haskell.org/~TracyWadleigh/mathlink
Bug tracker mailto:tracy.wadleigh@gmail.com?subject=dev-mathlink
Source repo head: darcs get http://community.haskell.org/~TracyWadleigh/darcs/mathlink/
Uploaded by TracyWadleigh at 2009-01-31T03:54:49Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 9248 total (34 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-01-02 [all 6 reports]