Skip to content

Instantly share code, notes, and snippets.

@rpapallas
Created October 17, 2016 19:54
Show Gist options
  • Save rpapallas/84cd9ec2bb55920cda5d52169b29971a to your computer and use it in GitHub Desktop.
Save rpapallas/84cd9ec2bb55920cda5d52169b29971a to your computer and use it in GitHub Desktop.
Factorial implementation in Haskell
factorial n = product [1..n]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment