[GHC] #11974: `default` declaration doesn't allow higher-kinded types
GHC
ghc-devs at haskell.org
Sat Apr 23 02:28:29 UTC 2016
#11974: `default` declaration doesn't allow higher-kinded types
-------------------------------------+-------------------------------------
Reporter: goldfire | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: None/Unknown
Unknown/Multiple |
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
Since we now have #10971, I would expect the following to work:
{{{
{-# LANGUAGE ExtendedDefaultRules #-}
module Bug where
default (Maybe, [])
}}}
But it doesn't. Sadly, the default default list contains `[]`, but the
user can never set this.
Fix on the way.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11974>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list