From e32a6a02ee6a14cd85c715979503a58b0d661085 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Wed, 27 Apr 2016 17:59:46 -0700 Subject: 2878 --- chessboard.mu | 7 +------ html/chessboard.mu.html | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/chessboard.mu b/chessboard.mu index 9bd5adef..7ead26cb 100644 --- a/chessboard.mu +++ b/chessboard.mu @@ -9,16 +9,11 @@ def main [ # 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 function unless they are also - # results. Here we clearly modify both keyboard and screen, so we return - # both. - # # Here the console and screen are both 0, which usually indicates real # hardware rather than a fake for testing as you'll see below. chessboard 0/screen, 0/console - close-console # cleanup screen, keyboard and mouse + close-console # clean up screen, keyboard and mouse ] ## But enough about mu. Here's what it looks like to run the chessboard program. diff --git a/html/chessboard.mu.html b/html/chessboard.mu.html index d4241248..f1b1c16f 100644 --- a/html/chessboard.mu.html +++ b/html/chessboard.mu.html @@ -45,16 +45,11 @@ body { font-size: 12pt; font-family: monospace; color: #eeeeee; background-color # 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 function unless they are also - # results. Here we clearly modify both keyboard and screen, so we return - # both. - # # Here the console and screen are both 0, which usually indicates real # hardware rather than a fake for testing as you'll see below. chessboard 0/screen, 0/console - close-console # cleanup screen, keyboard and mouse + close-console # clean up screen, keyboard and mouse ] ## But enough about mu. Here's what it looks like to run the chessboard program. -- cgit 1.4.1-2-gfad0