Crates.io | ghci |
lib.rs | ghci |
version | 0.1.0 |
source | src |
created_at | 2023-07-23 20:54:54.042203 |
updated_at | 2023-07-23 20:54:54.042203 |
description | Manage and communicate with ghci (Haskell's GHC interpreter) |
homepage | |
repository | https://github.com/basile-henry/ghci-rs |
max_upload_size | |
id | 923986 |
size | 15,410 |
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");
Copyright 2023 Basile Henry