Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Synopsis
- data PMaybeData a (s :: S)
- = PDJust (Term s (PDataRecord '["_0" := a]))
- | PDNothing (Term s (PDataRecord '[]))
Documentation
data PMaybeData a (s :: S) Source #
Data encoded Maybe type. Used in various ledger api types.
PDJust (Term s (PDataRecord '["_0" := a])) | |
PDNothing (Term s (PDataRecord '[])) |
Instances
Orphan instances
PConstantData a => PConstantDecl (Maybe a) Source # | |
type PConstantRepr (Maybe a) Source # type PConstanted (Maybe a) :: PType Source # pconstantToRepr :: Maybe a -> PConstantRepr (Maybe a) Source # pconstantFromRepr :: PConstantRepr (Maybe a) -> Maybe (Maybe a) Source # |