hedgehog-1.2: Release with confidence.
Safe Haskell Safe-Inferred
Language Haskell2010

Hedgehog.Internal.Opaque

Synopsis

Documentation

newtype Opaque a Source #

Opaque values.

Useful if you want to put something without a Show instance inside something which you'd like to be able to display.

For example:

  data State v =
    State {
        stateRefs :: [Var (Opaque (IORef Int)) v]
      } deriving (Eq, Show)

Constructors

Opaque

Fields