ghci 0.2.0

Manage and communicate with ghci (Haskell's GHC interpreter)
Documentation

ghci CI Status crates.io docs.rs

A crate to manage and communicate with ghci sessions.

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

See the docs for more.

Platform support: Unix only (Linux, macOS, BSDs).

License

MIT License

Copyright 2023 Basile Henry