function
boot.janet on line 2105, column 1
(freeze x)
Freeze an object (make it immutable) and do a deep copy, making
child values also immutable. Closures, fibers, and abstract types
will not be recursively frozen, but all other types will.
(freeze @"Ho") #=> "Ho"
(freeze @("Ho")) #=> ("Ho")
(freeze @["Ho"]) #=> ("Ho")
(freeze @{"Ho" "Ho"}) #=> {"Ho" "Ho"}
(freeze @{:a @[1 2]
:b @{:x @[8 9]
:y :smile}})
# => {:a (1 2) :b {:x (8 9) :y :smile}}