User talk:Lisp

From HaskellWiki
Jump to: navigation, search

Euler problems/11 to 20

Do you think it's better to replace the simple generation of triangle numbers with a hard coded list? I think it was better before with

triangleNumbers = scanl1 (+) [1..]

There's no performance advantage to the hard coded list, and it limits the problem size to just the numbers you included. How do you know how many you need before hand? Quale 17:52, 18 February 2008 (UTC)

Euler problems

Please don't remove valid solutions to the problems, and certainly don't replace them with references to the OEIS. Quale 17:25, 25 February 2008 (UTC)