Skip to content

Instantly share code, notes, and snippets.

@etianen
Created May 4, 2010 16:17
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 etianen/389603 to your computer and use it in GitHub Desktop.
Save etianen/389603 to your computer and use it in GitHub Desktop.
foldr1 (max) $ filter (\p -> let s = show p in s == reverse s) [ n * m | n <- [1..999], m <- [1..999]]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment