From f0c55e6b97edf8971ce4adad3ee53cbfa406b7ef Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 27 Dec 2017 20:38:53 -0800 Subject: 4165 --- html/065duplex_list.mu.html | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'html/065duplex_list.mu.html') diff --git a/html/065duplex_list.mu.html b/html/065duplex_list.mu.html index c0557ad9..bfd37e7b 100644 --- a/html/065duplex_list.mu.html +++ b/html/065duplex_list.mu.html @@ -96,7 +96,7 @@ if ('onhashchange' in window) { 34 load-inputs 35 return-unless in, 0 36 result <- get *in, prev:offset - 37 return result + 37 return result 38 ] 39 40 scenario duplex-list-handling [ @@ -149,7 +149,7 @@ if ('onhashchange' in window) { 87 ¦ break-unless l 88 ¦ result <- add result, 1 89 ¦ l <- next l - 90 ¦ loop + 90 ¦ loop 91 } 92 ] 93 @@ -302,11 +302,11 @@ if ('onhashchange' in window) { 240 { 241 ¦ break-unless prev-node 242 ¦ *prev-node <- put *prev-node, next:offset, next-node -243 ¦ return +243 ¦ return 244 } 245 # if prev-node is null, then we removed the head node at 'in' 246 # return the new head rather than the old 'in' -247 return next-node +247 return next-node 248 ] 249 250 scenario removing-from-duplex-list [ @@ -420,7 +420,7 @@ if ('onhashchange' in window) { 358 ¦ in <- remove curr, in 359 ¦ curr <- copy next 360 ¦ i <- add i, 1 -361 ¦ loop +361 ¦ loop 362 } 363 ] 364 @@ -618,7 +618,7 @@ if ('onhashchange' in window) { 556 ¦ # next iter 557 ¦ curr <- next curr 558 ¦ idx <- add idx, 1 -559 ¦ loop +559 ¦ loop 560 } 561 ] 562 @@ -639,7 +639,7 @@ if ('onhashchange' in window) { 577 ¦ next:&:duplex-list:_elem <- next result 578 ¦ break-unless next 579 ¦ result <- copy next -580 ¦ loop +580 ¦ loop 581 } 582 ] 583 @@ -659,9 +659,9 @@ if ('onhashchange' in window) { 597 ¦ return-unless curr-matches?, 0/no-match 598 ¦ x <- next x 599 ¦ i <- add i, 1 -600 ¦ loop +600 ¦ loop 601 } -602 return 1/successful-match +602 return 1/successful-match 603 ] 604 605 scenario duplex-list-match [ @@ -704,7 +704,7 @@ if ('onhashchange' in window) { 642 ¦ ¦ $print 10/newline 643 ¦ ¦ $print x, [: ] 644 ¦ } -645 ¦ loop +645 ¦ loop 646 } 647 $print 10/newline, [---], 10/newline 648 ] @@ -745,7 +745,7 @@ if ('onhashchange' in window) { 683 { 684 ¦ break-if in 685 ¦ buf <- append buf, [[]] -686 ¦ return +686 ¦ return 687 } 688 # append in.value to buf 689 val:_elem <- get *in, value:offset @@ -761,14 +761,14 @@ if ('onhashchange' in window) { 699 ¦ break-if optional-input-found? 700 ¦ # unlimited recursion 701 ¦ buf <- to-buffer next, buf -702 ¦ return +702 ¦ return 703 } 704 { 705 ¦ break-unless remaining 706 ¦ # limited recursion 707 ¦ remaining <- subtract remaining, 1 708 ¦ buf <- to-buffer next, buf, remaining -709 ¦ return +709 ¦ return 710 } 711 # past recursion depth; insert ellipses and stop 712 append buf, [...] -- cgit 1.4.1-2-gfad0