Skip to content

Instantly share code, notes, and snippets.

@konn
Created April 25, 2010 02:06
Show Gist options
  • Save konn/378107 to your computer and use it in GitHub Desktop.
Save konn/378107 to your computer and use it in GitHub Desktop.
{-# LANGUAGE BangPatterns #-}
import Control.Applicative ((<$>))
import Data.List
main = do
!s <- foldl1' seq <$> getContents
putStrLn "Hello, world!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment