| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Theory.Drasil.Theory
Contents
Description
Defines types and functions for Theoretical Models.
Synopsis
- data TheoryModel
- tm :: ModelKind ModelExpr -> [DecRef] -> String -> [Sentence] -> TheoryModel
- tmNoRefs :: ModelKind ModelExpr -> String -> [Sentence] -> TheoryModel
Types
data TheoryModel Source #
A TheoryModel is a collection of:
- tUid - a UID,
- con - a ConceptChunk,
- vctx - definition context (
TheoryModels), - spc - type definitions (
SpaceDefns), - quan - quantities (
DefinedQuantityDicts), - ops - operations (
ConceptChunks), - defq - definitions (
QDefinitions), - invs - invariants (
ModelExprs), - dfun - defined functions (
QDefinitions), - ref - accompanying references (
DecRefs), - lb - a label (
SpaceDefn), - ra - reference address (
SpaceDefn), - notes - additional notes (
Sentences).
Right now, neither the definition context (vctx) nor the spaces (spc) are ever defined.