From 8062ed87d30fa7628f26cfd7bb94bb0e7401752b Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Sat, 9 Aug 2025 21:18:48 +0300 Subject: Revert adding of print (its behavior was poorly designed). This reverts commit 3e1bf7f9946efe70d452c71494ac77ed39110804. --- src/sexp/step.rs | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/sexp/step.rs') 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 // --------------------------------------------------------- -- cgit v1.2.3