diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2016-11-10 10:24:14 -0800 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2016-11-10 10:24:14 -0800 |
commit | f116818c7c6e98a5d9bfa7058096b42df85d8e1c (patch) | |
tree | ba3458a0c51f67c27c7347b1c5f5be2fc33965e2 /081print.mu | |
parent | b771d375d3e11dcf3e6e55175f2ae128448177a7 (diff) | |
download | mu-f116818c7c6e98a5d9bfa7058096b42df85d8e1c.tar.gz |
3656
Periodic cleanup to replace 'reply' with 'return' everywhere in the repo. I use 'reply' for students to help reinforce the metaphor of function calls as being like messages through a pipe. But that causes 'reply' to get into my muscle memory when writing Mu code for myself, and I worry that that makes Mu seem unnecessarily alien to anybody reading on Github. Perhaps I should just give it up? I'll try using 'return' with my next student.
Diffstat (limited to '081print.mu')
-rw-r--r-- | 081print.mu | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/081print.mu b/081print.mu index 9eecf6d3..474e4c31 100644 --- a/081print.mu +++ b/081print.mu @@ -607,7 +607,7 @@ def screen-height screen:&:screen -> height:num [ def hide-cursor screen:&:screen -> screen:&:screen [ local-scope load-ingredients - reply-if screen # fake screen; do nothing + return-if screen # fake screen; do nothing # real screen hide-cursor-on-display ] @@ -615,7 +615,7 @@ def hide-cursor screen:&:screen -> screen:&:screen [ def show-cursor screen:&:screen -> screen:&:screen [ local-scope load-ingredients - reply-if screen # fake screen; do nothing + return-if screen # fake screen; do nothing # real screen show-cursor-on-display ] @@ -623,7 +623,7 @@ def show-cursor screen:&:screen -> screen:&:screen [ def hide-screen screen:&:screen -> screen:&:screen [ local-scope load-ingredients - reply-if screen # fake screen; do nothing + return-if screen # fake screen; do nothing # real screen hide-display ] @@ -631,7 +631,7 @@ def hide-screen screen:&:screen -> screen:&:screen [ def show-screen screen:&:screen -> screen:&:screen [ local-scope load-ingredients - reply-if screen # fake screen; do nothing + return-if screen # fake screen; do nothing # real screen show-display ] |