#1349: Generalise the ! and UNPACK mechanism for data types, to unpack function
arguments
---------------------------------+------------------------------------------
    Reporter:  simonpj           |        Owner:              
        Type:  task              |       Status:  new         
    Priority:  low               |    Milestone:  7.2.1       
   Component:  Compiler          |      Version:  6.6.1       
    Keywords:                    |     Testcase:              
   Blockedby:                    |   Difficulty:  Unknown     
          Os:  Unknown/Multiple  |     Blocking:              
Architecture:  Unknown/Multiple  |      Failure:  None/Unknown
---------------------------------+------------------------------------------

Comment(by ezyang):

 Here is some more food for thought: if I write:

 {{{
 seq :: !a -> b -> b
 seq _ y = y
 }}}

 Should this be equivalent to:

 {{{
 seq :: a -> b -> b
 seq !_ y = y
 }}}

 I personally think yes.

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

_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to