Fixme work in progress
Values in Clojure include numbers, characters and strings. When you use functions on these values they do not change, instead a new value is returned.
Lets look at a simple example with a number:
Another example with a string:
(def message "Strings are immutable") (str message "," " " "you cant change them") ;; => "Strings are immutable, you cant change them" message ;; => "Strings are immutable"
Fixme Add an exercise
Last update: January 6, 2023