Crate ghci

source ·
Expand description

A crate to manage and communicate with ghci sessions

let mut ghci = Ghci::new()?;
let out = ghci.eval("putStrLn \"Hello world\"")?;
assert_eq!(&out.stdout, "Hello world\n");

See Ghci documentation for more examples

Structs

Enums

Type Definitions