| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Cardano.Ledger.HKD
Description
This module contains just the type of protocol parameters.
Synopsis
- type family HKD f a where ...
- type family HKDNoUpdate f a where ...
- class HKDFunctor f where
- hkdMap ∷ proxy f → (a → b) → HKD f a → HKD f b
- toNoUpdate ∷ HKD f a → HKDNoUpdate f a
- fromNoUpdate ∷ HKDNoUpdate f a → HKD f a
- data NoUpdate a = NoUpdate
- class HKDFunctor f ⇒ HKDApplicative f where
Documentation
type family HKDNoUpdate f a where ... Source #
Equations
| HKDNoUpdate Identity a = a | |
| HKDNoUpdate StrictMaybe a = NoUpdate a | |
| HKDNoUpdate Maybe a = NoUpdate a | |
| HKDNoUpdate f a = f a |
class HKDFunctor f where Source #
Methods
hkdMap ∷ proxy f → (a → b) → HKD f a → HKD f b Source #
toNoUpdate ∷ HKD f a → HKDNoUpdate f a Source #
fromNoUpdate ∷ HKDNoUpdate f a → HKD f a Source #
Instances
| HKDFunctor Identity Source # | |
Defined in Cardano.Ledger.HKD | |
| HKDFunctor StrictMaybe Source # | |
Defined in Cardano.Ledger.HKD Methods hkdMap ∷ proxy StrictMaybe → (a → b) → HKD StrictMaybe a → HKD StrictMaybe b Source # toNoUpdate ∷ HKD StrictMaybe a → HKDNoUpdate StrictMaybe a Source # fromNoUpdate ∷ HKDNoUpdate StrictMaybe a → HKD StrictMaybe a Source # | |
| HKDFunctor Maybe Source # | |
Defined in Cardano.Ledger.HKD | |
Constructors
| NoUpdate |
class HKDFunctor f ⇒ HKDApplicative f where Source #
Methods
hkdPure ∷ a → HKD f a Source #
hkdLiftA2 ∷ ∀ a b c. (a → b → c) → HKD f a → HKD f b → HKD f c Source #
Instances
| HKDApplicative Identity Source # | |
| HKDApplicative StrictMaybe Source # | |
Defined in Cardano.Ledger.HKD Methods hkdPure ∷ a → HKD StrictMaybe a Source # hkdLiftA2 ∷ (a → b → c) → HKD StrictMaybe a → HKD StrictMaybe b → HKD StrictMaybe c Source # | |
| HKDApplicative Maybe Source # | |