rewindable-index-1.1.0.0: Indexers that can rewind the state to a previous version.
Safe HaskellNone
LanguageHaskell2010

RewindableIndex.Storable

Contents

Synopsis

State

data Config Source #

Instances

Instances details
Eq Config Source # 
Instance details

Defined in RewindableIndex.Storable

Show Config Source # 
Instance details

Defined in RewindableIndex.Storable

data State h Source #

handle :: forall h. Lens' (State h) h Source #

config :: forall h. Lens' (State h) Config Source #

storage :: forall h. Lens' (State h) (Storage h) Source #

cursor :: forall h. Lens' (Storage h) Int Source #

data family StorableEvent h Source #

type family StorablePoint h Source #

data family StorableQuery h Source #

data family StorableResult h Source #

type family StorableMonad h :: * -> * Source #

API

data QueryInterval p Source #

Constructors

QEverything 
QInterval p p 

Instances

Instances details
Eq p => Eq (QueryInterval p) Source # 
Instance details

Defined in RewindableIndex.Storable

Show p => Show (QueryInterval p) Source # 
Instance details

Defined in RewindableIndex.Storable

Generic (QueryInterval p) Source # 
Instance details

Defined in RewindableIndex.Storable

Associated Types

type Rep (QueryInterval p) :: Type -> Type Source #

type Rep (QueryInterval p) Source # 
Instance details

Defined in RewindableIndex.Storable

type Rep (QueryInterval p) = D1 ('MetaData "QueryInterval" "RewindableIndex.Storable" "rewindable-index-1.1.0.0-KDFTOZYxKnRIlKpRoVGstZ" 'False) (C1 ('MetaCons "QEverything" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "QInterval" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 p) :*: S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 p)))

class Rewindable h where Source #

class HasPoint e p where Source #

Methods

getPoint :: e -> p Source #