repo.or.cz
/
mu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
fix other mandelbrot variants
[mu.git]
/
archive
/
1.vm
/
mutable.mu
blob
1a1ec7f08a6e43e7b301a335b946a563852bd376
1
# compare immutable-error.mu
2
3
def main [
4
local-scope
5
x:&:num <- new number:type
6
foo x
7
]
8
9
def foo x:&:num -> x:&:num [
10
local-scope
11
load-inputs
12
*x <- copy 34
13
]