Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 #
HKDNoUpdate Identity a = a | |
HKDNoUpdate StrictMaybe a = NoUpdate a | |
HKDNoUpdate Maybe a = NoUpdate a | |
HKDNoUpdate f a = f a |
class HKDFunctor f where Source #
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 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 |
Instances
Generic (NoUpdate a) Source # | |
Show (NoUpdate a) Source # | |
NFData (NoUpdate a) Source # | |
Defined in Cardano.Ledger.HKD | |
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 where Source #
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 hkdPure ∷ a → HKD StrictMaybe a Source # hkdLiftA2 ∷ (a → b → c) → HKD StrictMaybe a → HKD StrictMaybe b → HKD StrictMaybe c Source # | |
HKDApplicative Maybe Source # | |