Karya, built on Mon Jul 24 11:39:07 PDT 2017 (patch 33511aca01257b76b88de7c7a2763b7a965c084e)

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.