instant-deepseq-0.1.0.1: Generic NFData instances through instant-generics

Safe HaskellSafe
LanguageHaskell2010

Generics.Instant.Functions.DeepSeq

Contents

Synopsis

Documentation

You can use grnf as your generic rnf for any Representable type as follows:

instance NFData MyType where rnf = grnf

grnf :: (Representable a, GNFData (Rep a)) => a -> () Source

Internals

class GNFData a Source

Minimal complete definition

grnf'

Instances