[darcs-devel] [patch1910] darcs.cabal: sort extensions except NoMo... (and 1 more)

Ben Franksen bugs at darcs.net
Tue Sep 3 17:58:14 UTC 2019


Ben Franksen <ben.franksen at online.de> added the comment:

Sorry. Ignore last message.

>> I find ViewPatterns particularly ugly and hard to read, so I would
>> rather get rid of them than sanction their use.
> 
> Oops, sorry. I was confused. I meant the extension where you say
> 
>   case function -> .. of

I wasn't confused. These are view patterns. And my opinion about them
stands.

> I rember these being used in the old mangling code. I forgot how they
> are named and I think they aren't used anymore in darcs.

They are still used in several places.

> ViewPatterns are the thing where you define a data type like thing and
> use it as if it were the real data type, right? These are okay, too.

These are PatternSynonyms which are nice.

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch1910>
__________________________________


More information about the darcs-devel mailing list