Skip to content

Instantly share code, notes, and snippets.

@konn
Created April 25, 2010 02:00
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 konn/378105 to your computer and use it in GitHub Desktop.
Save konn/378105 to your computer and use it in GitHub Desktop.
{-# LANGUAGE BangPatterns #-}
import Control.Applicative ((<$>))
main = do
!s <- getContents
putStrLn "Hello, world!"
{-
--another
main = getContents `seq` putStrLn "hoge"
-}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment