ouroboros-consensus-0.18.0.0: Consensus layer for the Ouroboros blockchain protocol
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ouroboros.Consensus.HardFork.Combinator.Lifting

Documentation

newtype LiftMismatch f g xs Source #

Constructors

LiftMismatch (Mismatch f g xs) 

Instances

Instances details
(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ Show (f x), ∀ x. SingleEraBlock x ⇒ Show (g x)) ⇒ Show (LiftMismatch f g xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

Methods

showsPrecIntLiftMismatch f g xs → ShowS #

showLiftMismatch f g xs → String #

showList ∷ [LiftMismatch f g xs] → ShowS #

(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ Eq (f x), ∀ x. SingleEraBlock x ⇒ Eq (g x)) ⇒ Eq (LiftMismatch f g xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

Methods

(==)LiftMismatch f g xs → LiftMismatch f g xs → Bool #

(/=)LiftMismatch f g xs → LiftMismatch f g xs → Bool #

(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ Ord (f x), ∀ x. SingleEraBlock x ⇒ Ord (g x)) ⇒ Ord (LiftMismatch f g xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

Methods

compareLiftMismatch f g xs → LiftMismatch f g xs → Ordering #

(<)LiftMismatch f g xs → LiftMismatch f g xs → Bool #

(<=)LiftMismatch f g xs → LiftMismatch f g xs → Bool #

(>)LiftMismatch f g xs → LiftMismatch f g xs → Bool #

(>=)LiftMismatch f g xs → LiftMismatch f g xs → Bool #

maxLiftMismatch f g xs → LiftMismatch f g xs → LiftMismatch f g xs #

minLiftMismatch f g xs → LiftMismatch f g xs → LiftMismatch f g xs #

newtype LiftNP f xs Source #

Constructors

LiftNP (NP f xs) 

Instances

Instances details
(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ Show (f x)) ⇒ Show (LiftNP f xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

Methods

showsPrecIntLiftNP f xs → ShowS #

showLiftNP f xs → String #

showList ∷ [LiftNP f xs] → ShowS #

(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ Eq (f x)) ⇒ Eq (LiftNP f xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

Methods

(==)LiftNP f xs → LiftNP f xs → Bool #

(/=)LiftNP f xs → LiftNP f xs → Bool #

(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ Ord (f x)) ⇒ Ord (LiftNP f xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

Methods

compareLiftNP f xs → LiftNP f xs → Ordering #

(<)LiftNP f xs → LiftNP f xs → Bool #

(<=)LiftNP f xs → LiftNP f xs → Bool #

(>)LiftNP f xs → LiftNP f xs → Bool #

(>=)LiftNP f xs → LiftNP f xs → Bool #

maxLiftNP f xs → LiftNP f xs → LiftNP f xs #

minLiftNP f xs → LiftNP f xs → LiftNP f xs #

newtype LiftNS f xs Source #

Constructors

LiftNS (NS f xs) 

Instances

Instances details
(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ Show (f x)) ⇒ Show (LiftNS f xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

Methods

showsPrecIntLiftNS f xs → ShowS #

showLiftNS f xs → String #

showList ∷ [LiftNS f xs] → ShowS #

(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ Eq (f x)) ⇒ Eq (LiftNS f xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

Methods

(==)LiftNS f xs → LiftNS f xs → Bool #

(/=)LiftNS f xs → LiftNS f xs → Bool #

(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ Ord (f x)) ⇒ Ord (LiftNS f xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

Methods

compareLiftNS f xs → LiftNS f xs → Ordering #

(<)LiftNS f xs → LiftNS f xs → Bool #

(<=)LiftNS f xs → LiftNS f xs → Bool #

(>)LiftNS f xs → LiftNS f xs → Bool #

(>=)LiftNS f xs → LiftNS f xs → Bool #

maxLiftNS f xs → LiftNS f xs → LiftNS f xs #

minLiftNS f xs → LiftNS f xs → LiftNS f xs #

newtype LiftNamedMismatch (name ∷ Symbol) f g xs Source #

Constructors

LiftNamedMismatch (Mismatch f g xs) 

Instances

Instances details
(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ NoThunks (f x), ∀ x. SingleEraBlock x ⇒ NoThunks (g x), KnownSymbol name) ⇒ NoThunks (LiftNamedMismatch name f g xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

newtype LiftNamedNP (name ∷ Symbol) f xs Source #

Constructors

LiftNamedNP (NP f xs) 

Instances

Instances details
(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ NoThunks (f x), KnownSymbol name) ⇒ NoThunks (LiftNamedNP name f xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

Methods

noThunksContextLiftNamedNP name f xs → IO (Maybe ThunkInfo) Source #

wNoThunksContextLiftNamedNP name f xs → IO (Maybe ThunkInfo) Source #

showTypeOfProxy (LiftNamedNP name f xs) → String Source #

newtype LiftNamedNS (name ∷ Symbol) f xs Source #

Constructors

LiftNamedNS (NS f xs) 

Instances

Instances details
(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ NoThunks (f x), KnownSymbol name) ⇒ NoThunks (LiftNamedNS name f xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

Methods

noThunksContextLiftNamedNS name f xs → IO (Maybe ThunkInfo) Source #

wNoThunksContextLiftNamedNS name f xs → IO (Maybe ThunkInfo) Source #

showTypeOfProxy (LiftNamedNS name f xs) → String Source #

newtype LiftNamedTelescope (name ∷ Symbol) f g xs Source #

Constructors

LiftNamedTelescope (Telescope f g xs) 

Instances

Instances details
(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ NoThunks (f x), ∀ x. SingleEraBlock x ⇒ NoThunks (g x), KnownSymbol name) ⇒ NoThunks (LiftNamedTelescope name f g xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

newtype LiftOptNP empty f xs Source #

Constructors

LiftOptNP (OptNP empty f xs) 

Instances

Instances details
(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ Show (f x)) ⇒ Show (LiftOptNP empty f xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

Methods

showsPrecIntLiftOptNP empty f xs → ShowS #

showLiftOptNP empty f xs → String #

showList ∷ [LiftOptNP empty f xs] → ShowS #

(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ Eq (f x)) ⇒ Eq (LiftOptNP empty f xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

Methods

(==)LiftOptNP empty f xs → LiftOptNP empty f xs → Bool #

(/=)LiftOptNP empty f xs → LiftOptNP empty f xs → Bool #

newtype LiftTelescope g f xs Source #

Constructors

LiftTelescope (Telescope g f xs) 

Instances

Instances details
(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ Show (g x), ∀ x. SingleEraBlock x ⇒ Show (f x)) ⇒ Show (LiftTelescope g f xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

Methods

showsPrecIntLiftTelescope g f xs → ShowS #

showLiftTelescope g f xs → String #

showList ∷ [LiftTelescope g f xs] → ShowS #

(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ Eq (g x), ∀ x. SingleEraBlock x ⇒ Eq (f x)) ⇒ Eq (LiftTelescope g f xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

Methods

(==)LiftTelescope g f xs → LiftTelescope g f xs → Bool #

(/=)LiftTelescope g f xs → LiftTelescope g f xs → Bool #

(All SingleEraBlock xs, ∀ x. SingleEraBlock x ⇒ Ord (f x), ∀ x. SingleEraBlock x ⇒ Ord (g x)) ⇒ Ord (LiftTelescope g f xs) Source # 
Instance details

Defined in Ouroboros.Consensus.HardFork.Combinator.Lifting

Methods

compareLiftTelescope g f xs → LiftTelescope g f xs → Ordering #

(<)LiftTelescope g f xs → LiftTelescope g f xs → Bool #

(<=)LiftTelescope g f xs → LiftTelescope g f xs → Bool #

(>)LiftTelescope g f xs → LiftTelescope g f xs → Bool #

(>=)LiftTelescope g f xs → LiftTelescope g f xs → Bool #

maxLiftTelescope g f xs → LiftTelescope g f xs → LiftTelescope g f xs #

minLiftTelescope g f xs → LiftTelescope g f xs → LiftTelescope g f xs #