aboutsummaryrefslogtreecommitdiff
path: root/src/sexp
diff options
context:
space:
mode:
authorJoel Kronqvist <joel.kronqvist@iki.fi>2025-08-05 00:02:13 +0300
committerJoel Kronqvist <joel.kronqvist@iki.fi>2025-08-05 00:02:13 +0300
commit0d9c5b7fd7dec374ec357581f721f5cdc828b7ae (patch)
tree132905830677e7170c03210f8b849dd43040aee6 /src/sexp
parentfdae943090463526423f5e43e72cd2f0e8147a1b (diff)
downloadmyslip-0d9c5b7fd7dec374ec357581f721f5cdc828b7ae.tar.gz
myslip-0d9c5b7fd7dec374ec357581f721f5cdc828b7ae.zip
Changed project name
Diffstat (limited to 'src/sexp')
-rw-r--r--src/sexp/step.rs10
-rw-r--r--src/sexp/subst.rs2
-rw-r--r--src/sexp/util.rs2
3 files changed, 7 insertions, 7 deletions
diff --git a/src/sexp/step.rs b/src/sexp/step.rs
index 1ab0291..ee76ebf 100644
--- a/src/sexp/step.rs
+++ b/src/sexp/step.rs
@@ -10,7 +10,7 @@ impl SExp {
/// Addition, subtraction, multiplication and division
/// are supported.
/// ```rust
- /// use melisp::sexp::{SExp::*, SLeaf::*, util::*};
+ /// use myslip::sexp::{SExp::*, SLeaf::*, util::*};
///
/// assert_eq!(
/// scons(Add, scons(1, scons(1, Nil))).step(),
@@ -35,7 +35,7 @@ impl SExp {
///
/// Division truncates the decimals.
/// ```rust
- /// use melisp::sexp::{SExp::*, SLeaf::*, util::*};
+ /// use myslip::sexp::{SExp::*, SLeaf::*, util::*};
///
/// assert_eq!(
/// scons(Div, scons(5, scons(2, Nil))).step(),
@@ -45,7 +45,7 @@ impl SExp {
///
/// Also, addition and multiplication can take more than two arguments:
/// ```rust
- /// use melisp::sexp::{SExp::*, SLeaf::*, util::*};
+ /// use myslip::sexp::{SExp::*, SLeaf::*, util::*};
///
/// assert_eq!(
/// scons(Add, scons(1, scons(2, scons(3, Nil)))).step(),
@@ -61,7 +61,7 @@ impl SExp {
/// Here's an example of a bit more complicated expression
/// from wikipedias article on s-expressions.
/// ```rust
- /// use melisp::sexp::{SExp::*, SLeaf::*, util::*};
+ /// use myslip::sexp::{SExp::*, SLeaf::*, util::*};
///
/// fn main() {
/// let exp = scons(
@@ -92,7 +92,7 @@ impl SExp {
/// is evaluated to values, but they are not passed
/// to the operator after that.
/// ```rust
- /// use melisp::sexp::{SExp::*, SLeaf::*, util::*};
+ /// use myslip::sexp::{SExp::*, SLeaf::*, util::*};
/// assert_eq!(
/// scons(Quote, scons(1, scons(2, Nil))).step(),
/// Ok(scons(Quote, scons(1, scons(2, Nil))))
diff --git a/src/sexp/subst.rs b/src/sexp/subst.rs
index abab614..87f9b50 100644
--- a/src/sexp/subst.rs
+++ b/src/sexp/subst.rs
@@ -8,7 +8,7 @@ impl SExp {
/// named `name` with the given `value`
/// in this s-expression.
/// ```rust
- /// use melisp::sexp::{SExp::*, SLeaf::*, util::*};
+ /// use myslip::sexp::{SExp::*, SLeaf::*, util::*};
///
/// assert_eq!(
/// scons(Add, scons(var("a"), var("b"))).subst("b", &scons(Sub, scons(2, 1))),
diff --git a/src/sexp/util.rs b/src/sexp/util.rs
index 0818e6b..f01dab9 100644
--- a/src/sexp/util.rs
+++ b/src/sexp/util.rs
@@ -40,7 +40,7 @@ impl SExp {
/// lists aren't Nil-terminated.
///
/// ```rust
- /// use melisp::sexp::{SExp::*, SLeaf::*, util::*};
+ /// use myslip::sexp::{SExp::*, SLeaf::*, util::*};
/// assert_eq!(
/// scons(1, scons(2, scons(3, Nil))).into_vec(),
/// Ok(vec![Int(1), Int(2), Int(3)])