[Haskell-cafe] Re: sections of noncommutative operators

Brian Hulley brianh at metamilk.com
Sat Sep 9 14:35:35 EDT 2006


Michael Shulman wrote:
> On 09 Sep 2006 11:17:52 +0100, Jón Fairbairn
> <jon.fairbairn at cl.cam.ac.uk> wrote:
>> Right about the start of the design of Haskell, I proposed
>> the rule "parentheses should only be used for grouping".
>
> I think I would have liked that rule.  Are parentheses currently used
> for anything else besides grouping and sections?

Yes: tuples, contexts, set of classes to derive from in a deriving clause, 
module export list, import directives.

Regards, Brian.
-- 
Logic empowers us and Love gives us purpose.
Yet still phantoms restless for eras long past,
congealed in the present in unthought forms,
strive mightily unseen to destroy us.

http://www.metamilk.com 



More information about the Haskell-Cafe mailing list