diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-03-09 14:54:41 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-03-09 14:54:41 -0800 |
commit | e66851d897a378980e599134f90eb7a95f14787f (patch) | |
tree | 42d0ca4f3a5033a333cdba9a44d61750538c0346 /chessboard.mu | |
parent | c0e9154d6a1fa116871794a161c6f75a71742ed4 (diff) | |
download | mu-e66851d897a378980e599134f90eb7a95f14787f.tar.gz |
2746
Diffstat (limited to 'chessboard.mu')
-rw-r--r-- | chessboard.mu | 5 |
1 files changed, 2 insertions, 3 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. # |