[Haskell-cafe] [Haddock] Alphabetize record accessors

Mateusz Kowalczyk fuuzetsu at fuuzetsu.co.uk
Tue Jun 9 14:05:21 UTC 2015


On 06/09/2015 01:26 PM, Johannes Waldmann wrote:
>> Read instances for record types accept the fields 
>> only in declaration order[1], 
> 
> order is also important for semantics of deriving Ord,
> and for cost (or strictness) of deriving Eq.
> So, re-ordering would be confusing.
> 
> - J.W.
> 
> 
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> 

I agree.

– Haddock maintainer

-- 
Mateusz K.


More information about the Haskell-Cafe mailing list