Skip to content

Instantly share code, notes, and snippets.

@pervognsen
Created January 13, 2010 10:28
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 pervognsen/276094 to your computer and use it in GitHub Desktop.
Save pervognsen/276094 to your computer and use it in GitHub Desktop.
-- This is a test of Gist.
fact :: Integer -> Integer
fact 0 = 1
fact n = n * fact (n-1)
main = putStrLn (show (fact 100))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment