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 /063list.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 '063list.mu')
-rw-r--r-- | 063list.mu | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/063list.mu b/063list.mu index fce02c8d..51a33337 100644 --- a/063list.mu +++ b/063list.mu @@ -14,10 +14,10 @@ recipe push [ x:location <- next-ingredient in:address:list <- next-ingredient result:address:list <- new list:type - val:address:location <- get-address result:address:list/deref, value:offset - val:address:location/deref <- copy x:location - next:address:address:list <- get-address result:address:list/deref, next:offset - next:address:address:list/deref <- copy in:address:list + val:address:location <- get-address result:address:list/lookup, value:offset + val:address:location/lookup <- copy x:location + next:address:address:list <- get-address result:address:list/lookup, next:offset + next:address:address:list/lookup <- copy in:address:list reply result:address:list ] @@ -25,7 +25,7 @@ recipe push [ recipe first [ local-scope in:address:list <- next-ingredient - result:location <- get in:address:list/deref, value:offset + result:location <- get in:address:list/lookup, value:offset reply result:location ] @@ -33,7 +33,7 @@ recipe first [ recipe rest [ local-scope in:address:list <- next-ingredient - result:address:list <- get in:address:list/deref, next:offset + result:address:list <- get in:address:list/lookup, next:offset reply result:address:list ] |