shithub: MicroHs

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