diff options
Diffstat (limited to 'html/chessboard.mu.html')
-rw-r--r-- | html/chessboard.mu.html | 5 |
1 files changed, 2 insertions, 3 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> |