Safe Haskell | None |
---|---|
Language | Haskell2010 |
PlutusTx.Builtins.Class
Contents
Synopsis
-
class
FromBuiltin
arep a | arep -> a
where
- fromBuiltin :: arep -> a
-
class
ToBuiltin
a arep | a -> arep
where
- toBuiltin :: a -> arep
- stringToBuiltinString :: String -> BuiltinString
- obfuscatedId :: a -> a
- stringToBuiltinByteString :: String -> BuiltinByteString
Documentation
class FromBuiltin arep a | arep -> a where Source #
A class witnessing the ability to convert from the builtin representation to the Haskell representation.
Methods
fromBuiltin :: arep -> a Source #
Instances
class ToBuiltin a arep | a -> arep where Source #
A class witnessing the ability to convert from the Haskell representation to the builtin representation.
Instances
obfuscatedId :: a -> a Source #
Orphan instances
IsString BuiltinString Source # | |
Methods fromString :: String -> BuiltinString Source # |
|
IsString BuiltinByteString Source # | |
Methods fromString :: String -> BuiltinByteString Source # |