ouroboros-consensus:unstable-consensus-testlib
Safe HaskellNone
LanguageHaskell2010

Test.Util.Slots

Synopsis

Documentation

newtype NumSlots Source #

Number of slots

Constructors

NumSlots 

Fields

Instances

Instances details
Arbitrary NumSlots Source # 
Instance details

Defined in Test.Util.Slots

Eq NumSlots Source # 
Instance details

Defined in Test.Util.Slots

Methods

(==) ∷ NumSlots → NumSlots → Bool #

(/=) ∷ NumSlots → NumSlots → Bool #

Generic NumSlots Source # 
Instance details

Defined in Test.Util.Slots

Associated Types

type Rep NumSlots 
Instance details

Defined in Test.Util.Slots

type Rep NumSlots = D1 ('MetaData "NumSlots" "Test.Util.Slots" "ouroboros-consensus-4.0.0.0-inplace-unstable-consensus-testlib" 'True) (C1 ('MetaCons "NumSlots" 'PrefixI 'True) (S1 ('MetaSel ('Just "unNumSlots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))

Methods

from ∷ NumSlots → Rep NumSlots x #

to ∷ Rep NumSlots x → NumSlots #

Show NumSlots Source # 
Instance details

Defined in Test.Util.Slots

Methods

showsPrec ∷ Int → NumSlots → ShowS #

show ∷ NumSlots → String #

showList ∷ [NumSlots] → ShowS #

NoThunks NumSlots Source # 
Instance details

Defined in Test.Util.Slots

type Rep NumSlots Source # 
Instance details

Defined in Test.Util.Slots

type Rep NumSlots = D1 ('MetaData "NumSlots" "Test.Util.Slots" "ouroboros-consensus-4.0.0.0-inplace-unstable-consensus-testlib" 'True) (C1 ('MetaCons "NumSlots" 'PrefixI 'True) (S1 ('MetaSel ('Just "unNumSlots") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Word64)))