[GHC] #14764: Make $! representation-polymorphic

GHC ghc-devs at haskell.org
Mon Feb 5 20:56:10 UTC 2018


#14764: Make $! representation-polymorphic
-------------------------------------+-------------------------------------
           Reporter:  dfeuer         |             Owner:  (none)
               Type:  task           |            Status:  new
           Priority:  normal         |         Milestone:  8.6.1
          Component:  Core           |           Version:  8.2.2
  Libraries                          |
           Keywords:  TypeInType     |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):  Phab:D4382     |         Wiki Page:
-------------------------------------+-------------------------------------
 Currently,

 {{{#!hs
 ($) :: forall r a (b :: TYPE r). (a -> b) -> a -> b
 }}}

 but

 {{{#!hs
 ($!) :: (a -> b) -> a -> b
 }}}

 It seems fairly obvious that we should generalize `($!)`.

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


More information about the ghc-tickets mailing list