diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-09-30 22:09:42 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-09-30 22:09:42 -0700 |
commit | 65cec710256b93bedda02930195aea77e4bae40d (patch) | |
tree | d31239e02d94bd2077f2f942373186400ac04caa /html/063array.mu.html | |
parent | 3e1349d29fa00db1fab3a811b60bc9d8de0355e4 (diff) | |
download | mu-65cec710256b93bedda02930195aea77e4bae40d.tar.gz |
3432
Diffstat (limited to 'html/063array.mu.html')
-rw-r--r-- | html/063array.mu.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/063array.mu.html b/html/063array.mu.html index b0578215..a668d466 100644 --- a/html/063array.mu.html +++ b/html/063array.mu.html @@ -74,7 +74,7 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color <span class="Comment"># fill an existing array with a set of numbers</span> <span class="Comment"># (contributed by Caleb Couch)</span> -<span class="muRecipe">recipe</span> fill array:&:@:num<span class="muRecipe"> -> </span>array:&:@:num [ +<span class="muRecipe">def</span> fill array:&:@:num<span class="muRecipe"> -> </span>array:&:@:num [ <span class="Constant">local-scope</span> <span class="Constant">load-ingredients</span> loopn:num<span class="Special"> <- </span>copy <span class="Constant">0</span> @@ -138,7 +138,7 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color <span class="Comment"># swap two elements of an array</span> <span class="Comment"># (contributed by Caleb Couch)</span> -<span class="muRecipe">recipe</span> swap array:&:@:num, index1:num, index2:num<span class="muRecipe"> -> </span>array:&:@:num [ +<span class="muRecipe">def</span> swap array:&:@:num, index1:num, index2:num<span class="muRecipe"> -> </span>array:&:@:num [ <span class="Constant">local-scope</span> <span class="Constant">load-ingredients</span> object1:num<span class="Special"> <- </span>index *array, index1 |