Karya, built on 2018-05-31T02:46:59 (patch 0a1a35479c514820d77330ae8a978975ba22a47a)

Safe HaskellNone

Cmd.ReplGhc

Description

REPL implementation that directly uses the GHC API.

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.