mirror of
https://github.com/teo3300/rust-mal.git
synced 2026-01-13 01:35:31 +01:00
Multi-expr repl improved
Signed-off-by: teo3300 <matteo.rogora@live.it>
This commit is contained in:
@ -13,7 +13,7 @@ use crate::types::{MalErr, MalType};
|
||||
fn READ(input: &str) -> Result<Vec<MalType>, MalErr> {
|
||||
match read_str(input) {
|
||||
Ok(ast) => Ok(ast),
|
||||
Err(err) => Err(format!("Unexpected error during READ: {}", err)),
|
||||
Err(err) => Err(format!("@ READ: {}", err)),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user