[GHC] #11376: Inconsistent specified type variables among functions and datatypes/classes when using -XTypeApplications
GHC
ghc-devs at haskell.org
Fri Jan 8 00:12:04 UTC 2016
#11376: Inconsistent specified type variables among functions and datatypes/classes
when using -XTypeApplications
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler (Type | Version: 8.1
checker) |
Resolution: | Keywords: TypeInType
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: Other | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by RyanGlScott):
`-XTypeInType` switches on a menagerie of extensions, including
`-XPolyKinds`:
{{{
$ /opt/ghc/head/bin/ghci
GHCi, version 8.1.20160106: http://www.haskell.org/ghc/ :? for help
λ> :set -XTypeInType
λ> :showi language
base language is: Haskell2010
with the following modifiers:
-XDataKinds
-XNoDatatypeContexts
-XExtendedDefaultRules
-XKindSignatures
-XNoMonomorphismRestriction
-XNondecreasingIndentation
-XPolyKinds
-XTypeInType
}}}
`-XTypeApplications` enables some others, too:
{{{
$ /opt/ghc/head/bin/ghci
GHCi, version 8.1.20160106: http://www.haskell.org/ghc/ :? for help
λ> :set -XTypeApplications
λ> :showi language
base language is: Haskell2010
with the following modifiers:
-XAllowAmbiguousTypes
-XNoDatatypeContexts
-XExtendedDefaultRules
-XNoMonomorphismRestriction
-XNondecreasingIndentation
-XTypeApplications
}}}
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11376#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list