Created
January 23, 2019 21:24
-
-
Save reidev275/67e4831d69727b029762cf4bcf9816d8 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
import Control.Monad.Free (liftF) | |
forward ∷ State → Dsl State | |
forward state = liftF $ Forward state identity | |
backward ∷ State → Dsl State | |
backward state = liftF $ Backward state identity | |
-- ... it's the same for the others as well |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment