Moving String to MalStr (Rc<str>)

Because someone, somewhere, said that's better

Signed-off-by: teo3300 <matteo.rogora@live.it>
This commit is contained in:
teo3300
2024-01-26 01:20:34 +09:00
parent 7448091fdb
commit d8f431b739
8 changed files with 109 additions and 85 deletions

View File

@ -2,6 +2,7 @@
(assert (not (def! FALSE nil)))
(assert (def! TRUE true))
(println :def)
(def! value-0 0)
(assert-eq value-0 0)
(assert-eq
@ -13,6 +14,7 @@
(assert-fail '(def!))
(assert-fail '(def! a))
(println :do)
; do
(assert-eq
(do 1 2 3)
@ -29,6 +31,7 @@
(assert-eq (do) nil)
(println :ififififififififif)
; if
(assert (if true 1))
(assert (not (if false 1)))