[GHC] #8477: Allow inferring ambiguous types

GHC ghc-devs at haskell.org
Fri Oct 25 21:39:52 UTC 2013


#8477: Allow inferring ambiguous types
-------------------------------------+------------------------------------
        Reporter:  aavogt            |            Owner:
            Type:  feature request   |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.6.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:  8390
-------------------------------------+------------------------------------

Comment (by aavogt):

 I am asking for more than -XAllowAmbiguousTypes. I think it could be
 possible to have ghc accept the request.hs without having to write a type
 signature (which in turn needs -XAllowAmbiguousTypes and
 -XScopedTypeVariables).

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


More information about the ghc-tickets mailing list