diff options
author | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-07-26 17:50:09 +0300 |
---|---|---|
committer | Joel Kronqvist <joel.kronqvist@iki.fi> | 2025-07-26 17:50:09 +0300 |
commit | 6dbcbc54352dc81b6ef2f2ecd9719eac40d8f1e6 (patch) | |
tree | 03a14eac21c058ddf5af52e67227553c465900e2 /src/sexp/util.rs | |
parent | bf4632c461508de5202db98d25cd7ec06787c8dd (diff) | |
download | myslip-6dbcbc54352dc81b6ef2f2ecd9719eac40d8f1e6.tar.gz myslip-6dbcbc54352dc81b6ef2f2ecd9719eac40d8f1e6.zip |
Implemented integer operator dynamics, fixed some tests and added a combination test.
Diffstat (limited to 'src/sexp/util.rs')
-rw-r--r-- | src/sexp/util.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sexp/util.rs b/src/sexp/util.rs index a4e3ab4..c31358f 100644 --- a/src/sexp/util.rs +++ b/src/sexp/util.rs @@ -22,6 +22,6 @@ impl From<i32> for SLeaf { } } -pub fn sexp(x: impl Into<Box<SExp>>, y: impl Into<Box<SExp>>) -> SExp { +pub fn scons(x: impl Into<Box<SExp>>, y: impl Into<Box<SExp>>) -> SExp { SCons(x.into(), y.into()) } |