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§
- Eval
Output - Result for a ghci evaluation
- Ghci
- A ghci session handle
Enums§
Type Aliases§
- Result
- A convenient alias for
std::result::Result
using aGhciError