aboutsummaryrefslogtreecommitdiff
path: root/rust/src/bin/stepA_mal.rs
diff options
context:
space:
mode:
authorJoel Martin <github@martintribe.org>2015-03-05 13:15:12 -0600
committerJoel Martin <github@martintribe.org>2015-03-05 13:15:12 -0600
commitfb439f3cdfea0d68aa2240d436a873bc43648087 (patch)
tree0025159ebdbceb7dc48f93d545124545569e9f25 /rust/src/bin/stepA_mal.rs
parent35012ea4d59764ab3744f56b5fb5684e86e80422 (diff)
downloadmal-fb439f3cdfea0d68aa2240d436a873bc43648087.tar.gz
mal-fb439f3cdfea0d68aa2240d436a873bc43648087.zip
Rust: apply improvements in stepA to other steps.
Diffstat (limited to 'rust/src/bin/stepA_mal.rs')
-rw-r--r--rust/src/bin/stepA_mal.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/rust/src/bin/stepA_mal.rs b/rust/src/bin/stepA_mal.rs
index b84a079..cab2a06 100644
--- a/rust/src/bin/stepA_mal.rs
+++ b/rust/src/bin/stepA_mal.rs
@@ -7,11 +7,12 @@ use std::env as stdenv;
use mal::types::{MalVal, MalRet, MalError, err_str};
use mal::types::{symbol, _nil, string, list, vector, hash_map, malfunc, malfuncd};
-use mal::types::MalType::{Nil, False, Sym, List, Vector, Hash_Map, Func, MalFunc};
use mal::types::MalError::{ErrString, ErrMalVal};
+use mal::types::MalType::{Nil, False, Sym, List, Vector, Hash_Map, Func, MalFunc};
use mal::{readline, reader, core};
use mal::env::{env_set, env_get, env_new, env_bind, env_find, env_root, Env};
+
// read
fn read(str: String) -> MalRet {
reader::read_str(str)