
27 Nov
2009
27 Nov
'09
9:22 a.m.
On Fri, Nov 27, 2009 at 10:15 AM, Stephen Tetley
Hi Lev
Where clauses don't use braces so that's first problem.
You are mistaken, where clauses can use braces to avoid having to use layout as all others layout-based constructs in Haskell (do, where, let, case _ of, even the top-level...). But in this case the semicolons are mandatory, since you're explicitly rejecting layout-based rules. That is one problem of this code (use of braces without the semicolons), I didn't check if there were others. -- Jedaï