Last active
October 5, 2017 10:09
-
-
Save gelisam/0549eb2a292f86ca2574 to your computer and use it in GitHub Desktop.
Demonstrating how to use the Haxl library.
This file contains 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 Haxl.Core | |
-- | | |
-- >>> main | |
-- 42 | |
main :: IO () | |
main = do | |
myEnv <- emptyEnv () | |
r <- runHaxl myEnv (return 42) | |
print r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment