Karya, built on 2020-11-26T21:03:17 (patch 23b5be2d53a9e8e7d6136cda5aae2849abe5cded)
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.