diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-07-28 15:03:46 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-07-28 15:03:46 -0700 |
commit | 286ca5a4e85c2c3d4e5bd5e303990188a727131c (patch) | |
tree | 5157820360fdd44397954aa35a96d46e9dba03f5 /062array.mu | |
parent | bc6436927640603675e2e700007f53c5ab213869 (diff) | |
download | mu-286ca5a4e85c2c3d4e5bd5e303990188a727131c.tar.gz |
1869 - rename the /deref property to /lookup
Should be a little bit more mnemonic.
Diffstat (limited to '062array.mu')
-rw-r--r-- | 062array.mu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/062array.mu b/062array.mu index e0b72593..dff9d319 100644 --- a/062array.mu +++ b/062array.mu @@ -1,7 +1,7 @@ scenario array-from-args [ run [ 1:address:array:location <- new-array 0, 1, 2 - 2:array:location <- copy 1:address:array:location/deref + 2:array:location <- copy 1:address:array:location/lookup ] memory-should-contain [ 2 <- 3 # array length @@ -31,8 +31,8 @@ recipe new-array [ break-if done?:boolean curr-value:location, exists?:boolean <- next-ingredient assert exists?:boolean, [error in rewinding ingredients to new-array] - tmp:address:location <- index-address result:address:array:location/deref, i:number - tmp:address:location/deref <- copy curr-value:location + tmp:address:location <- index-address result:address:array:location/lookup, i:number + tmp:address:location/lookup <- copy curr-value:location i:number <- add i:number, 1 loop } |