#1665: rnf should work for any value or rnf should be implemented in the 
compiler
----------------------------------+-----------------------------------------
    Reporter:  [EMAIL PROTECTED]  |        Owner:         
        Type:  feature request    |       Status:  closed 
    Priority:  normal             |    Milestone:         
   Component:  Compiler           |      Version:  6.7    
    Severity:  normal             |   Resolution:  wontfix
    Keywords:                     |   Difficulty:  Unknown
          Os:  Unknown            |     Testcase:         
Architecture:  Unknown            |  
----------------------------------+-----------------------------------------
Changes (by igloo):

  * resolution:  => wontfix
  * status:  new => closed

Comment:

 I'm not sure exactly what you're asking for. It sounds like you might want
 one of unsafePerformST (which you can define with unsafeSTToIO and
 unsafePerformIO; I don't think there's a particularly good reason it
 doesn't exist), rnfM (a monadic variant of rnf which you'd have to
 implement), or to solve your problem in a different way.

 If you still think there's a need for rnf to be primitive and to behave
 differently, please could you give a motivating example? It might be
 better to initially discuss the problem on an appropriate mailing list.


 Thanks

 Ian

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1665>
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