• Alec Theriault's avatar
    Set `infixr -1 ->` · 251e3424
    Alec Theriault authored
    This simply makes explicit what is already the case. Due to special
    treatment in the parser, `->` has the lowest fixity. This patch propagates
    that information to:
      * GHCi, where `:info ->` now return the right fixity
      * TH, where `reifyFixity` returns the right fixity
      * the generated sources for `GHC.Prim`
    See #15235.
    Test Plan: make test
    Reviewers: bgamari, alanz, RyanGlScott
    Reviewed By: RyanGlScott
    Subscribers: int-index, RyanGlScott, rwbarton, mpickering, carter
    GHC Trac Issues: #15235
    Differential Revision: https://phabricator.haskell.org/D5199
glasgow_exts.rst 579 KB