deeqSeq proposal

Lennart Augustsson lennart at augustsson.net
Thu Apr 6 17:46:36 EDT 2006


Andy Adams-Moran wrote:
>> The only thing you can do with non-functions is put them in the sin bin:
>>
>>   deepSeq :: a -> IO ()
> 
> unsafeDeepSeq?
> 
> I guess we don't want to expand the unsafe* vocabulary for Haskell'
> though ...

What's wrong with
     deepSeeqIO :: a -> IO ()
?
Then you can use unsafePerformIO if you want
     deepSeq :: a -> b -> b

	-- Lennart


More information about the Haskell-prime mailing list