| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
Plutarch.String
Contents
Synopsis
- data PString s
- pfromText :: Text -> Term s PString
- pencodeUtf8 :: Term s (PString :--> PByteString)
- pdecodeUtf8 :: Term s (PByteString :--> PString)
Documentation
Plutus BuiltinString values
Instances
| PEq PString Source # | |
| DerivePlutusType PString Source # | |
Defined in Plutarch.String | |
| PlutusType PString Source # | |
Defined in Plutarch.String | |
| PUnsafeLiftDecl PString Source # | |
| PShow PString Source # | |
| Generic (PString s) Source # | |
| IsString (Term s PString) Source # | |
Defined in Plutarch.String | |
| Monoid (Term s PString) Source # | |
| Semigroup (Term s PString) Source # | |
| type DPTStrat PString Source # | |
Defined in Plutarch.String | |
| type PContravariant' PString Source # | |
Defined in Plutarch.String | |
| type PCovariant' PString Source # | |
Defined in Plutarch.String | |
| type PInner PString Source # | |
Defined in Plutarch.String | |
| type PVariant' PString Source # | |
Defined in Plutarch.String | |
| type PLifted PString Source # | |
Defined in Plutarch.String | |
| type Rep (PString s) Source # | |
Defined in Plutarch.String | |
pencodeUtf8 :: Term s (PString :--> PByteString) Source #
Encode a PString using UTF-8.
pdecodeUtf8 :: Term s (PByteString :--> PString) Source #
Decode a PByteString using UTF-8.
Orphan instances
| PConstantDecl Text Source # | |
Methods pconstantToRepr :: Text -> PConstantRepr Text Source # pconstantFromRepr :: PConstantRepr Text -> Maybe Text Source # | |