| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Cardano.Constitution.Config.Types
Contents
Synopsis
- data PredKey
- type Predicate v = (PredKey, [v])
- newtype Predicates v = Predicates {
- unPredicates :: [Predicate v]
- type PredMeaning a = Rational)
- | ParamList [ParamValue]
- | ParamAny
Documentation
The "unresolved" Predicate names, as read from JSON. At runtime, these PredKeys
will each be resolved to actual PredMeaning functions.
Instances
The "meaning" of a predicate, resolved from a PredKey (a string in JSON)
to a Tx binary predicate function.
type Param = (ParamKey, ParamValue) #