From 1e712e91edea0735c5eb440af26ac6d4454e70a9 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Tue, 5 Aug 2025 15:12:27 +0300 Subject: Fix: quote is not a typewise identity function. Added vt(&str) as util for VarType(String). --- src/sexp/step.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sexp') diff --git a/src/sexp/step.rs b/src/sexp/step.rs index f09c014..d66b1bd 100644 --- a/src/sexp/step.rs +++ b/src/sexp/step.rs @@ -199,12 +199,14 @@ impl SExp { /// ``` /// /// **Quotes** + /// /// If an s-expression should not be evaluated /// as a function, but it is instead to be treated /// as a list, `quote` can be used. /// With it as the operator, the rest of the list /// is evaluated to values, but they are not passed /// to the operator after that. + /// /// ```rust /// use myslip::sexp::{SExp::*, SLeaf::*, util::*}; /// assert_eq!( -- cgit v1.2.3