[Template-haskell] Release
Tim Sheard
sheard@cse.ogi.edu
Fri, 23 May 2003 00:40:49 -0700
My objectio to this is that at makes pattern matching particularly
heayywight. Especially when yo get to deeply nested patterns.
If each constructor has 6 or 7 letters rather than 3, things get really
dense. I'd rather have a few inconsistent constructors than long names
any day.
Tim
At 10:24 PM 5/22/2003 +0100, Ian Lynagh wrote:
>On Wed, Apr 09, 2003 at 04:27:58PM +1000, Manuel M T Chakravarty wrote:
> >
> > * Use a naming scheme for the functions that avoids having
> > to suffix some with "E" or "D" and some not. Example: we
> > have "cond", but "letE". Better *uniformly* use a single
> > suffix for all functions of the same class; eg, "condExp"
> > and "letExp" (or "condE" and "letE" if you desperately
> > want to save letters).
>
>I made this change last night, and also a corresponding change to the
>datastructures so there is now a more uniform approach. I believe from
>discussions with Manuel off-list that this is what he had in mind, but I
>apologise if I got confused.
>
>Having seen the result of this Simon and Tim don't seem to be too happy
>with it. Personally I'm not really fussed one way or the other,
>especially as I think we should be trying to use them as little as
>possible anyway. Manuel I assume is for it, unless I have misunderstood
>him.
>
>
>Thanks
>Ian