[Haskell] offside rule question

Lennart Augustsson lennart at augustsson.net
Wed Jul 13 21:15:32 EDT 2005

The offside rule is patronizing. :)
It tries to force you to lay out your program in a certain way.
If you like that way, good.  If you don't like that way, you can
use {;} as you say.

	-- Lennart

Frederik Eaton wrote:
> Huh, that seems patronizing. Well at least I can override it with {}.
> Thanks,
> Frederik
> On Thu, Jul 14, 2005 at 02:42:53AM +0200, Lennart Augustsson wrote:
>>That's how it is defined in the Haskell definition.
>>But there is a reason.  The offside rule (or whatever yoy want to
>>call it) is there to give visual cues.  If you were allowed to override
>>these easily just because it's parsable in principle then your code
>>would no longer have these visual cues that make Haskell code fairly
>>easy to read.
>>	-- Lennart

More information about the Haskell mailing list