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