Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/a30c2df58c319c99550c9c66827c1a984622866a

>---------------------------------------------------------------

commit a30c2df58c319c99550c9c66827c1a984622866a
Author: Simon Peyton Jones <[email protected]>
Date:   Fri Jan 13 15:48:23 2012 +0000

    Comments only

>---------------------------------------------------------------

 compiler/prelude/primops.txt.pp |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/compiler/prelude/primops.txt.pp b/compiler/prelude/primops.txt.pp
index 5047b3c..48dd768 100644
--- a/compiler/prelude/primops.txt.pp
+++ b/compiler/prelude/primops.txt.pp
@@ -1481,7 +1481,10 @@ primop  RaiseOp "raise#" GenPrimOp
 -- one kind of bottom into another, as it is allowed to do in pure code.
 --
 -- But we *do* want to know that it returns bottom after 
--- being applied to two arguments
+-- being applied to two arguments, so that this function is strict in y
+--     f x y | x>0      = raiseIO blah
+--           | y>0      = return 1
+--           | otherwise = return 2 
 
 primop  RaiseIOOp "raiseIO#" GenPrimOp
    a -> State# RealWorld -> (# State# RealWorld, b #)



_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to