diff options
Diffstat (limited to 'html')
-rw-r--r-- | html/chessboard.mu.html | 5 | ||||
-rw-r--r-- | html/tangle.mu.html | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/html/chessboard.mu.html b/html/chessboard.mu.html index e0042eaf..7edc5632 100644 --- a/html/chessboard.mu.html +++ b/html/chessboard.mu.html @@ -29,17 +29,16 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color <span class="Comment"># Chessboard program: you type in moves in algebraic notation, and it'll</span> <span class="Comment"># display the position after each move.</span> -<span class="Comment"># recipes are mu's names for functions</span> <span class="muRecipe">def</span> main [ open-console <span class="Comment"># take control of screen, keyboard and mouse</span> - <span class="Comment"># The chessboard recipe takes keyboard and screen objects as 'ingredients'.</span> + <span class="Comment"># The chessboard function takes keyboard and screen objects as 'ingredients'.</span> <span class="Comment">#</span> <span class="Comment"># In mu it is good form (though not required) to explicitly show the</span> <span class="Comment"># hardware you rely on.</span> <span class="Comment">#</span> <span class="Comment"># The chessboard also returns the same keyboard and screen objects. In mu it</span> - <span class="Comment"># is good form to not modify ingredients of a recipe unless they are also</span> + <span class="Comment"># is good form to not modify ingredients of a function unless they are also</span> <span class="Comment"># results. Here we clearly modify both keyboard and screen, so we return</span> <span class="Comment"># both.</span> <span class="Comment">#</span> diff --git a/html/tangle.mu.html b/html/tangle.mu.html index e7c23458..f4e73bfc 100644 --- a/html/tangle.mu.html +++ b/html/tangle.mu.html @@ -22,7 +22,7 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color </head> <body> <pre> -<span class="Comment"># example program: constructing recipes out of order</span> +<span class="Comment"># example program: constructing functions out of order</span> <span class="Comment">#</span> <span class="Comment"># We construct a factorial function with separate base and recursive cases.</span> <span class="Comment"># Compare factorial.mu.</span> |