Skip to content

Instantly share code, notes, and snippets.

@dysinger
Created March 2, 2014 21:51
Show Gist options
  • Select an option

  • Save dysinger/9314532 to your computer and use it in GitHub Desktop.

Select an option

Save dysinger/9314532 to your computer and use it in GitHub Desktop.
Reeses Haskell Node.js Cups
➤ cat Main.hs
main :: IO ()
main = putStrLn "hello"
➤ hastec --start=asap --opt-all Main.hs
Compiling Main into .
Linking Main.js
Linking Main
Linking GHC.IO.Handle.Text
Linking Haste.Handle
Linking GHC.Tuple
Linking GHC.Types
Linking GHC.IO
Running the Google Closure compiler on Main.js...
➤ node ./Main.js
hello
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment