Karya, built on Sun Nov 26 01:04:37 PST 2017 (patch 0a920b2bde70c0cbac8ee09d158064798b61bbe5)

Safe HaskellNone

Cmd.ReplGhc

Description

REPL implementation that directly uses the GHC API.

Supported versions: 7.10

Synopsis

Documentation

newtype Session Source #

The actual session runs in another thread, so this is the communication channel. (expr, namespace, response_mvar)

Constructors

Session (Chan.Chan (Query, MVar.MVar Response)) 

interpreter :: Session -> IO () Source #

Initialize the GHC API and run the interpreter loop.