[GHC] #7495: generalizing overloaded list syntax to Sized Lists, HLists, HRecords, etc

GHC ghc-devs at haskell.org
Thu Jun 11 14:47:33 UTC 2015


#7495: generalizing overloaded list syntax to Sized Lists, HLists, HRecords, etc
-------------------------------------+-------------------------------------
        Reporter:  nwf               |                   Owner:  carter
            Type:  feature request   |                  Status:  new
        Priority:  normal            |               Milestone:  7.12.1
       Component:  Compiler          |                 Version:  7.6.1
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  None/Unknown      |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:  #9883             |                Blocking:  9883
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by simonpj):

 > I don't see any things which current `OverloadedLists` can do and this
 new can not.

 Well, how about pattern matching and `[1..n]`?!  Maybe people are using
 those already.
 Have you talked to the authors of `OverloadedLists` to see what they
 think?   Do you expect this new design to ''replace'' `OverloadedLists`,
 or just be a competing extension?

 Let me continue to encourage you to start a wiki page explaining the
 design and its relationship to other extensions.  Build up a community of
 people who support the idea, and work with them to refine it.  Ultimately,
 develop a patch.

 Good work!

 Simon

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7495#comment:16>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list