unison-codebase-sqlite-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

U.Codebase.Sqlite.Decl.Format

Synopsis

Documentation

data DeclFormat' text defn Source #

Add new formats here

Constructors

Decl (LocallyIndexedComponent' text defn) 

Instances

Instances details
(Show text, Show defn) => Show (DeclFormat' text defn) Source # 
Instance details

Defined in U.Codebase.Sqlite.Decl.Format

Methods

showsPrec :: Int -> DeclFormat' text defn -> ShowS #

show :: DeclFormat' text defn -> String #

showList :: [DeclFormat' text defn] -> ShowS #

type HashDeclFormat = DeclFormat' Text Hash32 Source #

A DeclFormat which uses hash references instead of database ids.

type LocallyIndexedComponent = LocallyIndexedComponent' TextId ObjectId Source #

V1: Decls included Hashes inline V2: Instead of Hash, we use a smaller index.

type Type v = Term F v () Source #