The hint package

[Tags:bsd3, library]

This library defines an Interpreter monad. It allows to load Haskell modules, browse them, type-check and evaluate strings with Haskell expressions and even coerce them into values. The library is thread-safe and type-safe (even the coercion of expressions to values). It is, essentially, a huge subset of the GHC API wrapped in a simpler API.


[Skip to Readme]

Properties

Versions 0.1, 0.2, 0.2.1, 0.2.2, 0.2.4, 0.2.4.1, 0.3.0.0, 0.3.1.0, 0.3.2.0, 0.3.2.1, 0.3.2.2, 0.3.2.3, 0.3.3.0, 0.3.3.1, 0.3.3.2, 0.3.3.3, 0.3.3.4, 0.3.3.5, 0.3.3.6, 0.3.3.7, 0.4.0.0, 0.4.1.0, 0.4.2.0, 0.4.2.1, 0.4.2.2, 0.4.2.3, 0.4.3, 0.5.0, 0.5.1, 0.5.2, 0.6.0
Change log CHANGELOG.md
Dependencies base (==4.*), directory, exceptions, filepath, ghc (>=7.6 && <8.2), ghc-paths, mtl, random, unix (>=2.2.0.0) [details]
License BSD3
Author The Hint Authors
Maintainer mvdan@mvdan.cc
Stability Unknown
Category Language, Compilers/Interpreters
Home page https://github.com/mvdan/hint
Source repository head: git clone https://github.com/mvdan/hint
Uploaded Sun Jun 5 13:16:28 UTC 2016 by mvdan
Distributions Debian:0.4.2.3, Fedora:0.4.2.1, FreeBSD:0.4.2.3, LTSHaskell:0.5.2, NixOS:0.6.0, Stackage:0.6.0
Downloads 24573 total (93 in the last 30 days)
Votes
2 []
Status Docs available [build log]
Last success reported on 2016-06-05 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for hint

Readme for hint-0.6.0

hint

Build Status Hackage

This library defines an Interpreter monad. It allows to load Haskell modules, browse them, type-check and evaluate strings with Haskell expressions and even coerce them into values. The library is thread-safe and type-safe (even the coercion of expressions to values).

It is, essentially, a huge subset of the GHC API wrapped in a simpler API.

Example

Check example.hs to see a simple but comprehensive example (it must be run from the examples directory).