User talk:Lisp

From HaskellWiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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)