diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2015-07-28 14:33:22 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2015-07-28 14:33:22 -0700 |
commit | bc6436927640603675e2e700007f53c5ab213869 (patch) | |
tree | e8f76a871ac4118223e03015f32e6bd687a7bd49 /display.mu | |
parent | aa0888459fc2ca41b0ad6bef5bfa72223ca33945 (diff) | |
download | mu-bc6436927640603675e2e700007f53c5ab213869.tar.gz |
1868 - start using naked literals everywhere
First step to reducing typing burden. Next step: inferring types.
Diffstat (limited to 'display.mu')
-rw-r--r-- | display.mu | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/display.mu b/display.mu index f01c1b43..d00163a1 100644 --- a/display.mu +++ b/display.mu @@ -2,14 +2,14 @@ recipe main [ open-console - print-character-to-display 97:literal, 1:literal/red, 2:literal/green + print-character-to-display 97, 1/red, 2/green 1:number/raw, 2:number/raw <- cursor-position-on-display wait-for-some-interaction clear-display - move-cursor-on-display 0:literal, 4:literal - print-character-to-display 98:literal + move-cursor-on-display 0, 4 + print-character-to-display 98 wait-for-some-interaction - move-cursor-on-display 0:literal, 0:literal + move-cursor-on-display 0, 0 clear-line-on-display wait-for-some-interaction move-cursor-down-on-display |