Module
Logoot.Types.Position
- Package
- purescript-logoot-core
- Repository
- juspay/purescript-logoot-core
#Position Source
data Position peerId clock
Constructors
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)
#headPosition Source
headPosition :: forall c i. Position i c
Suggested position that corresponds to the beginning of a document
#lastPosition Source
lastPosition :: forall c i. Base -> Position i c
Suggested position that corresponds to the end of a document.