diff options
author | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-08-05 15:12:27 +0300 |
---|---|---|
committer | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-08-05 15:12:27 +0300 |
commit | 1e712e91edea0735c5eb440af26ac6d4454e70a9 (patch) | |
tree | f03b4afb90bb4e36e825814a4fddec253994b7b3 /src/sexp/step.rs | |
parent | 7be78efb6c56c04b8a96b3f4f7f6cf810da04dbf (diff) | |
download | myslip-1e712e91edea0735c5eb440af26ac6d4454e70a9.tar.gz myslip-1e712e91edea0735c5eb440af26ac6d4454e70a9.zip |
Fix: quote is not a typewise identity function. Added vt(&str) as util for VarType(String).
Diffstat (limited to 'src/sexp/step.rs')
-rw-r--r-- | src/sexp/step.rs | 2 |
1 files changed, 2 insertions, 0 deletions
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!( |