drasil-docLang-0.1.26.0: A framework for code and document generation for scientific software - Document Language SubPackage
Safe HaskellSafe-Inferred
LanguageHaskell2010

Drasil.ExtractCommon

Synopsis

Documentation

sentToExp :: Sentence -> [ModelExpr] Source #

Extracts all ModelExprs mentioned in a Sentence.

extractMExprs :: HasContents a => a -> [ModelExpr] Source #

Extracts ModelExprs from something that HasContents.

extractSents :: HasContents a => a -> [Sentence] Source #

Extracts Sentences from something that HasContents.

extractSents' :: HasContents a => [a] -> [Sentence] Source #

Extracts Sentences from a list of Contents.

extractChRefs :: HasContents a => [a] -> Set UID Source #

Extracts all referenced UIDs from things that have RawContents.