@hackage hint0.4.3
Runtime Haskell interpreter (GHC API wrapper)
Categories
License
BSD-3-Clause
Maintainer
mvdan@mvdan.cc
Links
Versions
Installation
Dependencies (12)
- base <5
- directory
- exceptions
- extensible-exceptions
- filepath
- ghc >=7.4.2 && <8 Show all…
Dependents (87)
@hackage/hslinks, @hackage/tabloid, @hackage/mueval, @hackage/gtk2hs-cast-gtk, @hackage/hyper-haskell-server, @hackage/hsprocess, Show all…
hint
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, esentially, 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).