
#12540: RFC: Allow not quantifying every top-level quantifiee -------------------------------------+------------------------------------- Reporter: Iceland_jack | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #14245 | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by RyanGlScott): I'm not sure I'd like to give up the `forall`-or-nothing rule. But note that there //is// a workaround here: just use extra parentheses: {{{#!hs const_ :: (forall a. a -> b -> a) const_ = const }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12540#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler