about summary refs log tree commit diff stats
path: root/mutable.mu
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2016-09-17 12:55:10 -0700
committerKartik K. Agaram <vc@akkartik.com>2016-09-17 12:55:10 -0700
commit760f683f2755038a1b0c16522f5001b889096aa5 (patch)
treee07afd384d45be93d81fb4c1788b332fe05799a0 /mutable.mu
parent80df524b566a708551f752ce8b82e21738591651 (diff)
downloadmu-760f683f2755038a1b0c16522f5001b889096aa5.tar.gz
3389
Diffstat (limited to 'mutable.mu')
-rw-r--r--mutable.mu4
1 files changed, 2 insertions, 2 deletions
diff --git a/mutable.mu b/mutable.mu
index 4f190adf..dced29b6 100644
--- a/mutable.mu
+++ b/mutable.mu
@@ -2,11 +2,11 @@
 
 def main [
   local-scope
-  x:address:num <- new number:type
+  x:&:num <- new number:type
   foo x
 ]
 
-def foo x:address:num -> x:address:num [
+def foo x:&:num -> x:&:num [
   local-scope
   load-ingredients
   *x <- copy 34