drasil-sysinfo-0.1.1.0: A framework for code and document generation for scientific software - SystemInformation SubPackage
Safe HaskellSafe-Inferred
LanguageHaskell2010

SysInfo.Drasil

Synopsis

System Information

data SystemInformation where Source #

Data structure for holding all of the requisite information about a system to be used in artifact generation.

Constructors

SI 

Fields

Lenses

Reference Database

type Purpose = [Sentence] Source #

Project Example purpose.

type Background = [Sentence] Source #

Project Example background information, used in the What section of README.

type Scope = [Sentence] Source #

Project Example scope.

type Motivation = [Sentence] Source #

Project Example motivation.

citeDB :: SystemInformation -> BibRef Source #

Helper for extracting a bibliography from the system information.

Utility Helper Functions

ccss :: [Sentence] -> [ModelExpr] -> ChunkDB -> [DefinedQuantityDict] Source #

Gets a list of defined quantities (DefinedQuantityDicts) from Sentences and expressions that are contained in the database (ChunkDB).

ccss' :: [Sentence] -> [ModelExpr] -> ChunkDB -> [QuantityDict] Source #

Gets a list of quantities (QuantityDicts) from Sentences and expressions that are contained in the database (ChunkDB).

vars :: ModelExpr -> ChunkDB -> [QuantityDict] Source #

Gets a list of quantities (QuantityDict) from an equation in order to print.