Created
March 2, 2014 21:51
-
-
Save dysinger/9314532 to your computer and use it in GitHub Desktop.
Reeses Haskell Node.js Cups
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
| ➤ 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