Moduleouroboros-consensus-4.2.1.0
Ouroboros.Consensus.Util
- 7 types
- 2 classes
- 44 values
- Packageouroboros-consensus-4.2.1.0
- Exports53
- LicenceApache-2.0
This function expects the types of the keys to have exactly the same Ord ordering. If you are certain this is the case, ignore this warning with `-Wno-x-ord-preserving-coercions`.
This function expects the types of the keys to have exactly the same Ord ordering. If you are certain this is the case, ignore this warning with `-Wno-x-ord-preserving-coercions`.
Instances6MonadTrans, Monad, Functor, Applicative, MonadCatch, MonadThrow
MonadTrans ElectricDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.UtilMonad m => Monad (Electric m)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.UtilFunctor m => Functor (Electric m)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.UtilApplicative m => Applicative (Electric m)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.UtilMonadCatch m => MonadCatch (Electric m)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.UtilMonadThrow m => MonadThrow (Electric m)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Util
Instances1Empty
Empty aDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Util
Instances4Eq, Show, Generic, Rep
Eq (Flag name)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.UtilShow (Flag name)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.UtilGeneric (Flag name)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Utiltype Rep (Flag name) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Util"Flag"
"Ouroboros.Consensus.Util"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'True) (C1 ('MetaCons"Flag"
'PrefixI 'True) (S1 ('MetaSel ('Just"getFlag"
) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))
Instances3Generic, NoThunks, Rep
Generic (Fuse m)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.UtilNoThunks (StrictMVar m ()) => NoThunks (Fuse m)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Utiltype Rep (Fuse m) = D1 ('MetaDataDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Util"Fuse"
"Ouroboros.Consensus.Util"
"ouroboros-consensus-4.2.1.0-C9zVP0VXla2Fy4UJAsSSXt"
'False) (C1 ('MetaCons"Fuse"
'PrefixI 'False) (S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel 'Nothing 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 (StrictMVar m ()))))
Constructors
Instances2Show, Exception
Show FuseBlownExceptionDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.UtilException FuseBlownExceptionDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Util
Constructors
SomeSecond :: !f a b -> SomeSecond f a
Instances6Isomorphic, Eq, Show, NoThunks
Isomorphic (SomeSecond (NestedCtxt f))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Embed.UnarySameDepIndex (NestedCtxt_ blk f) => Eq (SomeSecond (NestedCtxt f) blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.NestedContentSameDepIndex (Query blk) => Eq (SomeSecond Query blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.QueryShow (SomeBlockQuery (BlockQuery blk)) => Show (SomeSecond Query blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.QueryHasNestedContent f blk => Show (SomeSecond (NestedCtxt f) blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.NestedContent(Typeable f, Typeable blk) => NoThunks (SomeSecond (NestedCtxt f) blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.NestedContent
Instances19ShowProxy, …
ShowProxy PerasRoundNoDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.SupportsPerasShowProxy NodeIdDefined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.NodeIdTypeable xs => ShowProxy (Header (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Block · orphanTypeable xs => ShowProxy (HardForkBlock xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.BasicsTypeable xs => ShowProxy (HardForkApplyTxErr xs)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.MempoolTypeable xs => ShowProxy (GenTx (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanTypeable xs => ShowProxy (TxId (GenTx (HardForkBlock xs)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Mempool · orphanShowProxy blk => ShowProxy (PerasCert blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.SupportsPerasShowProxy blk => ShowProxy (PerasVote blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.SupportsPerasShowProxy blk => ShowProxy (PerasVoteId blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Block.SupportsPerasShowProxy blk => ShowProxy (SerialisedHeader blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Storage.Serialisation(Typeable m, Typeable a) => ShowProxy (GenTx (DualBlock m a))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.Dual(Typeable m, Typeable a) => ShowProxy (TxId (GenTx (DualBlock m a)))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.Dual(Typeable m, Typeable a) => ShowProxy (DualBlock m a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.Dual(Typeable m, Typeable a) => ShowProxy (DualGenTxErr m a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.Dual(Typeable m, Typeable a) => ShowProxy (DualHeader m a)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.DualTypeable xs => ShowProxy (BlockQuery (HardForkBlock xs))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Ledger.Query · orphanShowProxy (BlockQuery blk) => ShowProxy (Query blk)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.Query(Typeable m, Typeable a) => ShowProxy (BlockQuery (DualBlock m a))Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.Ledger.Dual
Instances2Show, Serialise
Show (Some ClosedExpr)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.History.QrySerialise (Some QueryAnytime)Defined in ouroboros-consensus-4.2.1.0 · Ouroboros.Consensus.HardFork.Combinator.Ledger.Query