Skip to content

Instantly share code, notes, and snippets.

@alvivi
Created February 22, 2011 20:38
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 alvivi/839340 to your computer and use it in GitHub Desktop.
Save alvivi/839340 to your computer and use it in GitHub Desktop.
HS_Main.hs
{-# LANGUAGE ForeignFunctionInterface #-}
module HSMain where
import Main
foreign export ccall hs_main :: IO ()
hs_main :: IO ()
hs_main = main
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment