| Copyright | (C) MLabs 2025 |
|---|---|
| License | Apache 2.0 |
| Maintainer | koz@mlabs.city, sean@mlabs.city |
| Safe Haskell | None |
| Language | Haskell2010 |
Covenant.Constant
Description
Representation of Plutus constants in Covenant.
Since: 1.0.0
Synopsis
- data AConstant
- typeConstant :: AConstant -> ValT a
Types
A Plutus constant term.
Since: 1.0.0
Constructors
| AUnit | |
| ABoolean Bool | |
| AnInteger Integer | |
| AByteString ByteString | |
| AString Text |
Instances
| Arbitrary AConstant Source # | |
| Show AConstant Source # | Since: 1.0.0 |
| Eq AConstant Source # | Since: 1.0.0 |
| Ord AConstant Source # | Since: 1.0.0 |
Functions
typeConstant :: AConstant -> ValT a Source #
Produce the type of a given constant.
Since: 1.0.0