shithub: MicroHs

ref: b7c1f531cc5f0bf95cbcfae20ef735c015e21f79
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