RE: help needed for adding isWHNF primop to 5.00.2

30 Jul
2001
30 Jul
'01
5:10 a.m.
Hi GHC people,
I would like to add a primitive to GHC 5.00.2 of the form:
isWHNF :: a -> Bool
I was able to do (something like) this a while ago in 4.06, but have got stuck trying to do the same with 5.00.2.
One problem is that you didn't call it 'reallyUnsafeIsWHNF#' :-) (or you could give it an IO type, to follow the current trend). Simon
8695
Age (days ago)
8695
Last active (days ago)
0 comments
1 participants
participants (1)
-
Simon Marlow