diff options
author | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-08-09 21:18:48 +0300 |
---|---|---|
committer | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-08-09 21:18:48 +0300 |
commit | 8062ed87d30fa7628f26cfd7bb94bb0e7401752b (patch) | |
tree | 706bf5e34678622111a23c7045f667c1acbe7c6d /src/sexp/step.rs | |
parent | 3e1bf7f9946efe70d452c71494ac77ed39110804 (diff) | |
download | myslip-8062ed87d30fa7628f26cfd7bb94bb0e7401752b.tar.gz myslip-8062ed87d30fa7628f26cfd7bb94bb0e7401752b.zip |
Revert adding of print (its behavior was poorly designed).
This reverts commit 3e1bf7f9946efe70d452c71494ac77ed39110804.
Diffstat (limited to 'src/sexp/step.rs')
-rw-r--r-- | src/sexp/step.rs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/sexp/step.rs b/src/sexp/step.rs index 94f6381..816582c 100644 --- a/src/sexp/step.rs +++ b/src/sexp/step.rs @@ -309,21 +309,6 @@ impl SExp { None => panic!("unreachable as per match guard arm"), }, - // prints - SCons(op, l) if op.clone().is_print() => match *op { - SCons(_, b) => { - println!("{}", match *b { - SCons(a, b) if *b == Atom(Nil) => *a, - t => t, - }); - Ok(match *l { - SCons(a, b) if *b == Atom(Nil) => *a, - t => t - }) - }, - Atom(_) => panic!("unreachable as per match arm guard"), - }, - // op value and a1 .. an values, and b0, b1 .. bn not values // --------------------------------------------------------- |