about summary refs log tree commit diff stats
path: root/html/factorial.mu.html
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-26 11:27:38 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-26 11:27:38 -0700
commit11f6618a19dd65e393bd9e6ef57e78c79f0126c8 (patch)
tree272c99661867cf4bd419f282cb7f9f887a5c381b /html/factorial.mu.html
parentbafc7192b2cc1d4a7d1cf4584e3c6c06d7ec979f (diff)
downloadmu-11f6618a19dd65e393bd9e6ef57e78c79f0126c8.tar.gz
1470
Diffstat (limited to 'html/factorial.mu.html')
-rw-r--r--html/factorial.mu.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/html/factorial.mu.html b/html/factorial.mu.html
index d5d965e6..c7c7723b 100644
--- a/html/factorial.mu.html
+++ b/html/factorial.mu.html
@@ -2,7 +2,7 @@
 <html>
 <head>
 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
-<title>factorial.mu</title>
+<title>Mu - factorial.mu</title>
 <meta name="Generator" content="Vim/7.4">
 <meta name="plugin-version" content="vim7.4_v1">
 <meta name="syntax" content="none">
@@ -34,7 +34,7 @@ body { font-family: monospace; color: #d0d0d0; background-color: #000000; }
 <span class="Comment"># example program: compute the factorial of 5</span>
 
 <span class="muRecipe">recipe</span> main [
-  <span class="Identifier">default-space</span>:address:space<span class="Special"> &lt;- </span>new location:type, <span class="Constant">30:literal</span>
+  <span class="Identifier">default-space</span>:address:array:location<span class="Special"> &lt;- </span>new location:type, <span class="Constant">30:literal</span>
   x:number<span class="Special"> &lt;- </span>factorial <span class="Constant">5:literal</span>
  <span class="Identifier"> $print</span> <span class="Constant">[result: ]</span>, x:number, <span class="Constant">[ </span>
 <span class="Constant">]</span>
@@ -61,7 +61,7 @@ body { font-family: monospace; color: #d0d0d0; background-color: #000000; }
   run [
     1:number<span class="Special"> &lt;- </span>factorial <span class="Constant">5:literal</span>
   ]
-  memory should contain [
+  memory-should-contain [
     1<span class="Special"> &lt;- </span>120
   ]
 ]
ew-segment.subx?h=hlt&id=cdfb2dbfcf18cd2f23bf74199082392c3692a599'>cdfb2dbf ^
9d27e966 ^
431627b2 ^
9d27e966 ^
91dab3e1 ^
6030d7e2 ^

871d2227 ^
cdfb2dbf ^
ee9a9237 ^
6030d7e2 ^
91dab3e1 ^
cdfb2dbf ^

6030d7e2 ^
c98d4b1c ^
dd9ba09a ^
cdfb2dbf ^
f75f333f ^

6030d7e2 ^

cdfb2dbf ^







cf02c20b ^
cdfb2dbf ^
6030d7e2 ^
cdfb2dbf ^

91dab3e1 ^
6030d7e2 ^

871d2227 ^

e5cbbea4 ^
871d2227 ^
f75f333f ^
6030d7e2 ^
9b16f190 ^
cdfb2dbf ^
6030d7e2 ^
9b16f190 ^
6030d7e2 ^
9b16f190 ^
6030d7e2 ^
9b16f190 ^
6030d7e2 ^
9b16f190 ^
6030d7e2 ^
9b16f190 ^
871d2227 ^
ee9a9237 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90