HaskellWiki

Haskell | Wiki community | Recent changes
Random page | Special pages

 

Not logged in
Log in | Help

User talk:Lisp

1 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)

2 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)

Retrieved from "http://www.haskell.org/haskellwiki/User_talk:Lisp"

This page has been accessed 180 times. This page was last modified 17:25, 25 February 2008. Recent content is available under a simple permissive license.