Skip to content

Instantly share code, notes, and snippets.

@simonmichael
Created December 17, 2018 23:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simonmichael/9b209b192de2ba79232475a50fdc0061 to your computer and use it in GitHub Desktop.
Save simonmichael/9b209b192de2ba79232475a50fdc0061 to your computer and use it in GitHub Desktop.
case () of
_ | changes==movedown -> printf "%d,%dv " x y
_ | changes==moveleft -> printf "<%d,%d " x y
_ | changes==moveright -> printf "%d,%d> " x y
_ -> printf "%d,%d. " x y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment