1 unstable release
0.1.0 | Jul 23, 2023 |
---|
#33 in #subprocess
611 downloads per month
14KB
156 lines
ghci

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");
License
Copyright 2023 Basile Henry
lib.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.stdout, "Hello world\n");
#
See Ghci
documentation for more examples
Dependencies
~2.5MB
~51K SLoC