| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Cardano.Ledger.HKD
Description
This module contains just the type of protocol parameters.
Synopsis
- type family HKD (f ∷ Type → Type) a where ...
- type family HKDNoUpdate (f ∷ Type → Type) a where ...
- class HKDFunctor (f ∷ Type → Type) 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 ∷ Type → Type) where
Documentation
type family HKDNoUpdate (f ∷ Type → Type) 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 ∷ Type → Type) 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 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 Identity Source # | |
Defined in Cardano.Ledger.HKD | |
| HKDFunctor Maybe Source # | |
Defined in Cardano.Ledger.HKD | |
Constructors
| NoUpdate |
Instances
| NFData (NoUpdate a) Source # | |
Defined in Cardano.Ledger.HKD | |
| Generic (NoUpdate a) Source # | |
Defined in Cardano.Ledger.HKD | |
| Show (NoUpdate a) Source # | |
| Eq (NoUpdate a) Source # | |
| Ord (NoUpdate a) Source # | |
Defined in Cardano.Ledger.HKD | |
| NoThunks (NoUpdate a) Source # | |
| type Rep (NoUpdate a) Source # | |
class HKDFunctor f ⇒ HKDApplicative (f ∷ Type → Type) where Source #
Instances
| 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 Identity Source # | |
| HKDApplicative Maybe Source # | |