HORIZON HASKELLDocslts/ghc-9.14.xd82dee82026-10-12Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · d82dee8 · 2026-10-12

Moduleouroboros-consensus-4.2.1.0

Ouroboros.Consensus.HardFork.Combinator.Basics

  • 5 types
  • 13 values
datadata EpochInfo (m :: Type -> Type)
#
Instances2Show, NoThunks
  • Show (EpochInfo f)Defined in cardano-slotting-0.2.2.0 · Cardano.Slotting.EpochInfo.API
  • NoThunks (EpochInfo m)Defined in cardano-slotting-0.2.2.0 · Cardano.Slotting.EpochInfo.API
data familydata family BlockConfig blk
#
Instances7Isomorphic, NoThunks, BlockConfig, …
data familydata family CodecConfig blk
#
Instances7Isomorphic, Generic, NoThunks, Rep, CodecConfig, …
data familydata family StorageConfig blk
#
Instances7Isomorphic, Generic, NoThunks, Rep, StorageConfig, …
newtypenewtype HardForkBlock (xs :: [Type])
#
Instances150SameDepIndex2, StandardHash, HasNestedContent, ReconstructNestedCtxt, ApplyBlock, CanUpgradeLedgerTables, …
datadata HardForkLedgerConfig (xs :: [Type])
#
Instances5Show, Generic, NoThunks, SerialiseNodeToClient, Rep
datadata HardForkProtocol (xs :: [Type])
#
Instances12Generic, NoThunks, ConsensusProtocol, Rep, CanBeLeader, IsLeader, …
data familydata family LedgerState blk (mk :: MapKind)
#
Instances39ApplyBlock, CanUpgradeLedgerTables, IsLedger, SerializeTablesWithHint, IndexedMemPack, CanStowLedgerTables, …
data familydata family ConsensusConfig p
#
Instances16Generic, NoThunks, Rep, ConsensusConfig, …
typetype Except e = ExceptT e Identity
#

The parameterizable exception monad.

Computations are either exceptions (of any type) or normal values. These computations are plain values, and are unrelated to the Control.Exception mechanism, which is tied to the IO monad.

The return function returns a normal value, while >>= exits on the first exception. For a variant that continues after an error and collects all the errors, see Errors.