[GHC] #10704: Can't lookup fixities of infix types in Template Haskell
GHC
ghc-devs at haskell.org
Tue Jul 28 21:31:39 UTC 2015
#10704: Can't lookup fixities of infix types in Template Haskell
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner:
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Template Haskell | Version: 7.10.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-------------------------------------+-------------------------------------
Comment (by rwbarton):
Note that those `; infixr 5 :+:` parts are ignored by ghci.
{{{
rwbarton at morphism:~/ghc$ ghci-7.10.1 -XTypeOperators
GHCi, version 7.10.1: http://www.haskell.org/ghc/ :? for help
Prelude> type a :+: b = Either a b; infixr 5 :+:
Prelude> :kind! () :+: () :+: ()
() :+: () :+: () :: *
= (() :+: ()) :+: ()
}}}
See #10663.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10704#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list