| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
Plutarch.Internal.Show
Documentation
Minimal complete definition
Nothing
Methods
pshow' :: Bool -> Term s t -> Term s PString Source #
Return the string representation of a Plutarch value
If the wrap argument is True, optionally wrap the output in `(..)` if it represents multiple parameters.
Instances
| PShow PBool Source # | |
| PShow PByteString Source # | |
Defined in Plutarch.Internal.Show | |
| PShow PData Source # | |
| PShow PInteger Source # | |
| PShow PString Source # | |
| PShow PUnit Source # | |
| PShow PPositive Source # | Since: 1.10.0 |
| PShow PRational Source # | |
| (PIsData a, PShow a) => PShow (PDataNewtype a) Source # | Since: 1.7.0 |
Defined in Plutarch.Builtin | |
| (PIsData a, PShow a) => PShow (PAsData a) Source # | |
| (PShow a, Contains DefaultUni (PlutusRepr a)) => PShow (PBuiltinList a) Source # | |
Defined in Plutarch.Internal.Show | |
| PShow a => PShow (PList a) Source # | |
| PShow a => PShow (PMaybe a) Source # | Since: 1.10.0 |
| (PShow a, PShow b) => PShow (PBuiltinPair a b) Source # | |
Defined in Plutarch.Internal.Show | |
| (PShow a, PShow b) => PShow (PEither a b) Source # | Since: 1.10.0 |
| (PIsData a, PIsData b, PShow a, PShow b) => PShow (PEitherData a b) Source # | Since: 1.10.0 |
Defined in Plutarch.Either | |
| (PShow a, PShow b) => PShow (PPair a b) Source # | Since: 1.10.0 |
pshow :: PShow a => Term s a -> Term s PString Source #
Return the string representation of a Plutarch value
pshowAndErr :: Term s a -> Term s b Source #
Causes an error where the input is shown in the message. Works for all types.