Karya, built on 2023-08-29T07:47:28 (patch 7a412d5d6ba4968ca4155ef276a062ccdeb9109a)
Safe HaskellSafe-Inferred

Cmd.ReplGhc

Description

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.