tag:blogger.com,1999:blog-14511296.post2539064325565859416..comments2014-03-27T17:43:58.312+01:00Comments on thought-tracker: Scala Exerciseslajoshttp://www.blogger.com/profile/10084204479295620888noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-14511296.post-28848783452305414762008-08-19T19:05:00.000+02:002008-08-19T19:05:00.000+02:00A couple of points. I don't believe there was a ru...A couple of points. I don't believe there was a rule <I>against</I> using the built-in foldLeft or foldRight. As to the implementation of maximum on an empty list, it seems to me that throwing an error when calling maximum on an empty list is a perfectly reasonable thing to do, like calling head or reduceRight on an empty listGarrett Rowehttps://www.blogger.com/profile/06362501128519741915noreply@blogger.com