Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data LocalIds' t h = LocalIds {
- textLookup :: Vector t
- defnLookup :: Vector h
- type LocalIds = LocalIds' TextId ObjectId
- type WatchLocalIds = LocalIds' TextId HashId
- newtype LocalTextId = LocalTextId Word64
- newtype LocalDefnId = LocalDefnId Word64
- newtype LocalHashId = LocalHashId Word64
- newtype LocalPatchObjectId = LocalPatchObjectId Word64
- newtype LocalBranchChildId = LocalBranchChildId Word64
- newtype LocalCausalHashId = LocalCausalHashId Word64
- t_ :: Traversal (LocalIds' t h) (LocalIds' t' h) t t'
- h_ :: Traversal (LocalIds' t h) (LocalIds' t h') h h'
Documentation
A mapping between index ids that are local to an object and the ids in the database
LocalIds | |
|
Instances
Bifoldable LocalIds' Source # | |
Bifunctor LocalIds' Source # | |
Bitraversable LocalIds' Source # | |
Defined in U.Codebase.Sqlite.LocalIds bitraverse :: Applicative f => (a -> f c) -> (b -> f d) -> LocalIds' a b -> f (LocalIds' c d) # | |
Functor (LocalIds' t) Source # | |
(Show t, Show h) => Show (LocalIds' t h) Source # | |
newtype LocalTextId Source #
represents an index into a textLookup
Instances
newtype LocalDefnId Source #
represents an index into a defnLookup
In this context, "definition" means an object that is either a term component or a (type) decl component, not a patch, namespace, or any other kind of object.
Instances
newtype LocalHashId Source #
a local index to a hash, used when the corresponding object is allowed to be absent
Instances
newtype LocalPatchObjectId Source #
Instances
newtype LocalBranchChildId Source #
Instances
newtype LocalCausalHashId Source #
causal hashes are treated differently from HashIds, which don't have dependencies