shithub: MicroHs

ref: 4fd2c14e65ca5f9006bff00b2fbbd678c29942fe
dir: /lib/Control/DeepSeq.hs/

View raw version
module Control.DeepSeq(module Control.DeepSeq) where
import Primitives
import Prelude

rnf :: forall a . a -> ()
rnf = primRnfErr

deepseq :: forall a b . a -> b -> b
deepseq a b = rnf a `seq` b

force :: forall a . a -> a
force x = rnf x `seq` x