mu/mutable.mu

14 lines
170 B
Plaintext
Raw Normal View History

# compare immutable-error.mu
def main [
local-scope
2016-09-17 19:55:10 +00:00
x:&:num <- new number:type
foo x
]
2016-09-17 19:55:10 +00:00
def foo x:&:num -> x:&:num [
local-scope
2017-12-04 07:25:40 +00:00
load-inputs
*x <- copy 34
]