From 65cec710256b93bedda02930195aea77e4bae40d Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 30 Sep 2016 22:09:42 -0700 Subject: 3432 --- html/063array.mu.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'html') 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 # fill an existing array with a set of numbers # (contributed by Caleb Couch) -recipe fill array:&:@:num -> array:&:@:num [ +def fill array:&:@:num -> array:&:@:num [ local-scope load-ingredients loopn:num <- copy 0 @@ -138,7 +138,7 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color # swap two elements of an array # (contributed by Caleb Couch) -recipe swap array:&:@:num, index1:num, index2:num -> array:&:@:num [ +def swap array:&:@:num, index1:num, index2:num -> array:&:@:num [ local-scope load-ingredients object1:num <- index *array, index1 -- cgit 1.4.1-2-gfad0