Created
January 23, 2019 21:30
-
-
Save reidev275/20ca48787020f8cf6c5c004f1e46d080 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
turnAround ∷ State → Dsl State | |
turnAround init = | |
left init | |
>>= left | |
outAndBack ∷ State → Dsl State | |
outAndBack init = | |
forward init | |
>>= forward | |
>>= turnAround | |
>>= forward | |
>>= forward |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment