From 0d9c5b7fd7dec374ec357581f721f5cdc828b7ae Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Tue, 5 Aug 2025 00:02:13 +0300 Subject: Changed project name --- src/sexp/step.rs | 10 +++++----- src/sexp/subst.rs | 2 +- src/sexp/util.rs | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'src/sexp') 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)]) -- cgit v1.2.3