diff options
-rw-r--r-- | chessboard.mu | 5 | ||||
-rw-r--r-- | html/chessboard.mu.html | 5 | ||||
-rw-r--r-- | html/tangle.mu.html | 2 | ||||
-rw-r--r-- | tangle.mu | 2 |
4 files changed, 6 insertions, 8 deletions
diff --git a/chessboard.mu b/chessboard.mu index fcaea5a7..c147c771 100644 --- a/chessboard.mu +++ b/chessboard.mu @@ -1,17 +1,16 @@ # Chessboard program: you type in moves in algebraic notation, and it'll # display the position after each move. -# recipes are mu's names for functions def main [ open-console # take control of screen, keyboard and mouse - # The chessboard recipe takes keyboard and screen objects as 'ingredients'. + # The chessboard function takes keyboard and screen objects as 'ingredients'. # # In mu it is good form (though not required) to explicitly show the # hardware you rely on. # # The chessboard also returns the same keyboard and screen objects. In mu it - # is good form to not modify ingredients of a recipe unless they are also + # is good form to not modify ingredients of a function unless they are also # results. Here we clearly modify both keyboard and screen, so we return # both. # 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> diff --git a/tangle.mu b/tangle.mu index 6d8d0e27..1b5dde66 100644 --- a/tangle.mu +++ b/tangle.mu @@ -1,4 +1,4 @@ -# example program: constructing recipes out of order +# example program: constructing functions out of order # # We construct a factorial function with separate base and recursive cases. # Compare factorial.mu. |