Skip to content

Instantly share code, notes, and snippets.

@geowa4
Created February 8, 2013 01:22
Show Gist options
  • Save geowa4/4735823 to your computer and use it in GitHub Desktop.
Save geowa4/4735823 to your computer and use it in GitHub Desktop.
Project Euler Problem #5
import Data.List (foldr1)
euler5 :: Int
euler5 = foldr1 lcm [1..20]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment