drasil-printers-0.1.10.0: A framework for code and document generation for scientific software - Printers SubPackage
Safe HaskellSafe-Inferred
LanguageHaskell2010

Drasil.Database.SearchTools

Synopsis

Documentation

data TermAbbr Source #

Constructors

TermAbbr 

termResolve :: (NP -> Maybe String -> c) -> ChunkDB -> UID -> c Source #

Search for a chunk that is an instance of Idea and return its "term" and abbreviation, erroring out if it doesn't exist.

termResolve' :: ChunkDB -> UID -> TermAbbr Source #

Find a chunk's "term" and abbreviation, erroring out if it doesn't exist.

data DomDefn Source #

Constructors

DomDefn 

Fields

defResolve :: ([UID] -> Sentence -> c) -> ChunkDB -> UID -> c Source #

Looks up a UID in all tables with concepts from the ChunkDB. If nothing is found, an error is thrown.