ghci

A crate to manage and communicate with ghci sessions.
let mut ghci = new?;
let out = ghci.eval?;
assert_eq!;
See the docs for more.
Platform support: Unix only (Linux, macOS, BSDs).
License
Copyright 2023 Basile Henry
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).
Copyright 2023 Basile Henry