[Haskell-cafe] [Haddock] Alphabetize record accessors

Brandon Allbery allbery.b at gmail.com
Mon Jun 8 03:36:11 UTC 2015


On Sun, Jun 7, 2015 at 11:23 PM, aditya siram <aditya.siram at gmail.com>
wrote:

> How would people feel about Haddock alphabetizing record accessors by
> default?


It occurs to me that the Haskell Report specifies that Read instances for
record types accept the fields only in declaration order[1], and it might
therefore be preferable to maintain that order in API documentation.

[1]
https://www.haskell.org/onlinereport/haskell2010/haskellch11.html#x18-18600011.4
see point 3 under "Derived instances of Read'
-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150607/11176950/attachment.html>


More information about the Haskell-Cafe mailing list