Module
Logoot.Types
- Package
- purescript-logoot-core
- Repository
- juspay/purescript-logoot-core
#ithPeerId Source
ithPeerId :: forall clock peerId f. Container f => IdentifierF f peerId clock -> Int -> Maybe peerId#ithClock Source
ithClock :: forall clock peerId f. Container f => IdentifierF f peerId clock -> Int -> Maybe clockRe-exports from Logoot.Types.Identifier
#IdentifierF Source
newtype IdentifierF f peerId clockConstructors
IdentifierF (f (Position peerId clock))
Instances
Newtype (IdentifierF f i c) _Generic (IdentifierF f i c) _(Eq (f (Position peerId clock))) => Eq (IdentifierF f peerId clock)(Ord (f (Position peerId clock))) => Ord (IdentifierF f peerId clock)(Show (f (Position peerId clock))) => Show (IdentifierF f peerId clock)(Encode (f (Position peerId clock))) => Encode (IdentifierF f peerId clock)(Decode (f (Position peerId clock))) => Decode (IdentifierF f peerId clock)
Re-exports from Logoot.Types.Position
#Position Source
data Position peerId clockConstructors
Instances
(Eq peerId, Eq clock) => Eq (Position peerId clock)(Ord peerId, Ord clock) => Ord (Position peerId clock)Generic (Position peerId clock) _(Show peerId, Show clock) => Show (Position peerId clock)Bifunctor Position(Encode i, Encode c) => Encode (Position i c)(Decode i, Decode c) => Decode (Position i c)