Skip to content

Instantly share code, notes, and snippets.

@gelisam gelisam/Main.hs
Last active Oct 5, 2017

Embed
What would you like to do?
Demonstrating how to use the Haxl library.
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
You can’t perform that action at this time.