module Language.Drasil (
Expr
, ExprC(..)
, frac, recip_
, square, half
, oneHalf, oneThird
, apply1, apply2
, m2x2, vec2D, dgnl2x2, rowVec, columnVec
, Completeness, Relation
, Literal
, LiteralC(..)
, ModelExpr
, DerivType
, ModelExprC(..)
, CodeExpr
, CodeExprC(..)
, Special(..), RenderSpecial(..)
, HasUID(uid)
, HasSymbol(symbol)
, NamedIdea(term)
, Idea(getA)
, CommonIdea(abrv)
, Definition(defn)
, ConceptDomain(cdom)
, Concept
, HasSpace(typ)
, HasUnitSymbol(usymb)
, Quantity
, HasReasVal(reasVal)
, Constrained(constraints)
, HasAdditionalNotes(getNotes)
, MayHaveDerivation(derivations)
, IsUnit(getUnits)
, DefiningExpr(defnExpr)
, Express(express)
, HasRefAddress(getRefAdd)
, Referable(..)
, HasReference(getReferences)
, Callable
, IsArgumentName
, UID, mkUid, nsUid
, (+++), (+++.), (+++!)
, nc, ncUID, IdeaDict , mkIdea
, nw
, CodeIdea(..), CodeChunk(..), CodeVarChunk(..), CodeFuncChunk(..), VarOrFunc(..)
, obv, qc, ccf, ccv, listToArray, programName, funcPrefix, DefiningCodeExpr(..)
, CI, commonIdea, getAcc, commonIdeaWithDict, prependAbrv
, ConceptChunk, ConceptInstance, sDom
, dcc, dccWDS, cc, cc', ccs, cw, cic
, RelationConcept, makeRC, addRelToCC
, DifferentialModel(..), ODESolverFormat(..), InitialValueProblem(..), ($^^),($*), ($+)
, makeAODESolverFormat, makeAIVP, formEquations, makeASystemDE, makeASingleDE
, QuantityDict, DefinesQuantity(defLhs), qw, mkQuant, mkQuant'
, codeVC, implVar, implVar', implVarUID, implVarUID' , vc, vc'', vcSt, vcUnit
, QDefinition, fromEqn, fromEqn', fromEqnSt, fromEqnSt', fromEqnSt''
, mkQDefSt, mkQuantDef, mkQuantDef', ec
, mkFuncDef, mkFuncDef', mkFuncDefByQ
, Unitary(..), UnitaryChunk, unitary, unitary', mkUnitary, unit_symb
, DefinedQuantityDict, dqd, dqd', dqdNoUnit, dqdQd, dqdWr
, UnitalChunk(..), uc, uc', ucStaged, ucStaged', ucuc, ucw
, UnitDefn(..)
, fromUDefn, unitCon, makeDerU
, (^:), (/:), (*:), (*$), (/$), (^$), newUnit
, scale, shift
, derUC, derUC', derUC''
, fund, fund', compUnitDefn, derCUC, derCUC', derCUC''
, unitWrapper, getCu, MayHaveUnit(getUnit)
, ConstraintReason(..), Constraint(..), ConstraintE
, physc, sfwrc, isPhysC, isSfwrC
, ConstrainedChunk(..), ConstrConcept(..)
, cuc, cvc, constrained', cuc', cuc'', constrainedNRV'
, cnstrw, cnstrw'
, UncertainChunk(..), UncertQ, uq, uqc, uqcND, uncrtnChunk, uvc
, uncrtnw
, Uncertainty, uncty, HasUncertainty(..)
, defaultUncrt, uncVal, uncPrec, exact
, getAdd, prepend
, LblType(RP, Citation, URI), IRefProg(..)
, Reference(..), ref, refS, namedRef, complexRef, namedComplexRef
, DecRef(refInfo), dRefInfo, dRef, HasDecRef(..)
, EntryID, Citation, BibRef
, HasCitation(getCitations)
, HasFields(getFields)
, citeID, citeKind
, cArticle, cBookA, cBookE, cBooklet
, cInBookACP, cInBookECP, cInBookAC, cInBookEC, cInBookAP, cInBookEP
, cInCollection, cInProceedings, cManual, cMThesis, cMisc, cPhDThesis
, cProceedings, cTechReport, cUnpublished
, Month(..)
, CiteField(..), HP(..), CitationKind(..)
, author, editor
, address, bookTitle, howPublished, howPublishedU, institution, journal, note
, organization, publisher, school, series, title, typeField
, chapter, edition, number, volume, year
, pages
, month
, People, Person, person, HasName, name, person', personWM
, personWM', mononym, nameStr, rendPersLFM, rendPersLFM', rendPersLFM''
, comparePeople
, Sentence(..), SentenceStyle(..), TermCapitalization(..), RefInfo(..), (+:+), (+:+.), (+:), (!.), capSent, headSent
, ch, eS, eS', sC, sDash, sParen
, NounPhrase(..), NP, pn, pn', pn'', pn''', pnIrr, cn, cn', cn'', cn''', cnIP
, cnIrr, cnIES, cnICES, cnIS, cnUM, nounPhrase, nounPhrase'
, CapitalizationRule(..), atStartNP, atStartNP'
, PluralRule(..)
, compoundPhrase, compoundPhrase', compoundPhrase'', compoundPhrase''', compoundPhraseP1
, titleizeNP, titleizeNP', nounPhrase'', nounPhraseSP, nounPhraseSent
, introduceAbb, phrase, plural, phrasePoss, pluralPoss, atStart, atStart'
, titleize, titleize', short
, ShortName, shortname', getSentSN, HasShortName(..)
, Derivation(Derivation), mkDeriv, mkDerivName, mkDerivNoHeader
, EnumType(..), WrapType(..), SepType(..), FoldType(..)
, foldConstraints
, foldlEnumList, foldlList, foldlSP, foldlSP_, foldlSPCol, foldlSent
, foldlSent_,foldlSentCol, foldlsC, foldNums, numList
, Document(..), ShowTableOfContents(..), DType(..), Section(..)
, Contents(..), SecCons(..), ListType(..), ItemType(..), ListTuple
, LabelledContent(..), UnlabelledContent(..), extractSection
, mkParagraph, mkRawLC, checkToC
, llcc, ulcc
, section, fig, figWithWidth
, MaxWidthPercent
, HasContents(accessContents)
, RawContent(..)
, mkFig
, makeTabRef, makeFigRef, makeSecRef, makeEqnRef, makeURI
, makeTabRef', makeFigRef', makeSecRef', makeEqnRef', makeURI'
, enumBullet, enumBulletU, enumSimple, enumSimpleU, mkEnumSimpleD
, lbldExpr, unlbldExpr, unlbldCode
, chgsStart, definedIn, definedIn', definedIn'', definedIn'''
, eqnWSource, fromReplace, fromSource, fromSources, fmtU, follows
, makeListRef
, addPercent, displayStrConstrntsAsSet, displayDblConstrntsAsSet
, eqN, checkValidStr, getTandS, maybeChanged, maybeExpanded
, maybeWOVerb, showingCxnBw, substitute, typUncr, underConsidertn
, unwrap, fterms
, bulletFlat, bulletNested, itemRefToSent, makeTMatrix, mkEnumAbbrevList
, mkTableFromColumns, noRefs, refineChain, sortBySymbol, sortBySymbolTuple
, tAndDOnly, tAndDWAcc, tAndDWSym
, zipSentList
, Space(..)
, RealInterval(..), Inclusive(..)
, DomainDesc(..), RTopology(..), ContinuousDomainDesc, DiscreteDomainDesc
, getActorName, getInnerSpace
, mkFunction, Primitive
, Decoration, Symbol
, USymb(US)
, mkTable
, Stage(Equational,Implementation)
, eqSymb, codeSymb, hasStageSymbol
, autoStage, hat, prime, staged, sub, subStr, sup , unicodeConv, upperLeft, vec
, label, variable
, ConstQDef, SimpleQDef, ModelQDef
, PExpr
, TypingContext
, TypeError
, inferFromContext
, Typed(..)
, RequiresChecking(..)
, temporaryIndent
) where
import Prelude hiding (log, sin, cos, tan, sqrt, id, return, print, break, exp, product)
import Language.Drasil.WellTyped (RequiresChecking(..), Typed(..), TypingContext,
TypeError, inferFromContext, temporaryIndent)
import Language.Drasil.Expr.Class (ExprC(..),
frac, recip_, square, half, oneHalf, oneThird, apply1, apply2,
m2x2, vec2D, dgnl2x2, rowVec, columnVec)
import Language.Drasil.Expr.Lang (Expr, Completeness, Relation)
import Language.Drasil.Literal.Class (LiteralC(..))
import Language.Drasil.Literal.Lang (Literal)
import Language.Drasil.ModelExpr.Class (ModelExprC(..))
import Language.Drasil.ModelExpr.Lang (ModelExpr, DerivType)
import Language.Drasil.CodeExpr.Lang (CodeExpr)
import Language.Drasil.CodeExpr.Class (CodeExprC(..))
import Language.Drasil.Document (section, fig, figWithWidth
, Section(..), SecCons(..) , llcc, ulcc, Document(..)
, mkParagraph, mkFig, mkRawLC, ShowTableOfContents(..), checkToC, extractSection
, makeTabRef, makeFigRef, makeSecRef, makeEqnRef, makeURI
, makeTabRef', makeFigRef', makeSecRef', makeEqnRef', makeURI')
import Language.Drasil.Document.Core (Contents(..), ListType(..), ItemType(..), DType(..)
, RawContent(..), ListTuple, MaxWidthPercent
, HasContents(accessContents)
, LabelledContent(..), UnlabelledContent(..) )
import Language.Drasil.Document.Contents (lbldExpr, unlbldExpr, unlbldCode
, enumBullet, enumBulletU, enumSimple, enumSimpleU, mkEnumSimpleD)
import Language.Drasil.Document.Combinators
import Language.Drasil.Unicode (RenderSpecial(..), Special(..))
import Language.Drasil.UID
(UID, HasUID(..), (+++), (+++.), (+++!), mkUid, nsUid)
import Language.Drasil.Symbol (HasSymbol(symbol), Decoration, Symbol)
import Language.Drasil.Classes (Definition(defn), ConceptDomain(cdom), Concept, HasUnitSymbol(usymb),
IsUnit(getUnits), CommonIdea(abrv), HasAdditionalNotes(getNotes), Constrained(constraints),
HasReasVal(reasVal), DefiningExpr(defnExpr), Quantity, Callable,
IsArgumentName, Express(..))
import Language.Drasil.Derivation (Derivation(Derivation), mkDeriv, mkDerivName, mkDerivNoHeader, MayHaveDerivation(..))
import Language.Drasil.Data.Date (Month(..))
import Language.Drasil.Chunk.Citation (
Citation, EntryID, BibRef
, HasCitation(..)
, citeID, citeKind
, cArticle, cBookA, cBookE, cBooklet
, cInBookACP, cInBookECP, cInBookAC, cInBookEC, cInBookAP, cInBookEP
, cInCollection, cInProceedings, cManual, cMThesis, cMisc, cPhDThesis
, cProceedings, cTechReport, cUnpublished)
import Language.Drasil.Chunk.CodeVar (CodeIdea(..), CodeChunk(..),
CodeVarChunk(..), CodeFuncChunk(..), VarOrFunc(..), obv, qc, ccf, ccv,
listToArray, programName, funcPrefix, DefiningCodeExpr(..))
import Language.Drasil.Chunk.CommonIdea
import Language.Drasil.Chunk.Concept
import Language.Drasil.Chunk.Concept.Core (sDom)
import Language.Drasil.Chunk.Constrained
import Language.Drasil.Constraint (physc, sfwrc, isPhysC, isSfwrC,
Constraint(..), ConstraintE, ConstraintReason(..))
import Language.Drasil.Chunk.DefinedQuantity
import Language.Drasil.Chunk.Eq (QDefinition, fromEqn, fromEqn', fromEqnSt,
fromEqnSt', fromEqnSt'', mkQDefSt, mkQuantDef, mkQuantDef', ec,
mkFuncDef, mkFuncDef', mkFuncDefByQ)
import Language.Drasil.Chunk.NamedIdea
import Language.Drasil.Chunk.Quantity
import Language.Drasil.Chunk.Relation(RelationConcept, makeRC, addRelToCC)
import Language.Drasil.Chunk.DifferentialModel(DifferentialModel(..), ODESolverFormat(..),
InitialValueProblem(..), ($^^), ($*), ($+), makeAODESolverFormat, makeAIVP, makeASystemDE,
makeASingleDE, formEquations)
import Language.Drasil.Chunk.UncertainQuantity
import Language.Drasil.Chunk.Unital(UnitalChunk(..), uc, uc', ucStaged, ucStaged',
ucuc, ucw)
import Language.Drasil.Chunk.Unitary
import Language.Drasil.Data.Citation (CiteField(..), HP(..), CitationKind(..)
, HasFields(getFields)
, author, editor
, address, bookTitle, howPublished, howPublishedU, institution, journal, note
, organization, publisher, school, series, title, typeField
, chapter, edition, number, volume, year
, pages
, month)
import Language.Drasil.NounPhrase
import Language.Drasil.ShortName (ShortName, shortname', getSentSN, HasShortName(..))
import Language.Drasil.Space (Space(..), RealInterval(..), Inclusive(..),
RTopology(..), DomainDesc(..), ContinuousDomainDesc, DiscreteDomainDesc,
getActorName, getInnerSpace, HasSpace(..), mkFunction, Primitive)
import Language.Drasil.Sentence (Sentence(..), SentenceStyle(..), TermCapitalization(..), RefInfo(..), (+:+),
(+:+.), (+:), (!.), capSent, headSent, ch, eS, eS', sC, sDash, sParen)
import Language.Drasil.Sentence.Fold
import Language.Drasil.Reference (Reference(..), namedRef, complexRef, namedComplexRef, ref, refS, HasReference(..))
import Language.Drasil.DecoratedReference(DecRef(refInfo), dRefInfo, dRef, HasDecRef(..))
import Language.Drasil.Symbol.Helpers (eqSymb, codeSymb, hasStageSymbol,
autoStage, hat, prime, staged, sub, subStr, sup, unicodeConv, upperLeft, vec,
label, variable)
import Language.Drasil.Synonyms (ConstQDef, SimpleQDef, ModelQDef, PExpr)
import Language.Drasil.Stages (Stage(..))
import Language.Drasil.Misc (mkTable)
import Language.Drasil.People (People, Person, person, HasName(..),
person', personWM, personWM', mononym, name, nameStr, rendPersLFM,
rendPersLFM', rendPersLFM'', comparePeople)
import Language.Drasil.Label.Type hiding (name)
import Language.Drasil.UnitLang (USymb(US))
import Language.Drasil.Uncertainty
import Language.Drasil.Development.Sentence
import Language.Drasil.Chunk.UnitDefn (UnitDefn(..)
, fromUDefn, unitCon, makeDerU
, (^:), (/:), (*:), (*$), (/$),(^$), newUnit
, scale, shift
, derUC, derUC', derUC''
, fund, fund', compUnitDefn, derCUC, derCUC', derCUC''
, unitWrapper, getCu, MayHaveUnit(getUnit))