drasil-code-0.1.9.0: A framework for code and document generation for scientific software - Code SubPackage
Safe HaskellSafe-Inferred
LanguageHaskell2010

Language.Drasil.Code.Imperative.Helpers

Synopsis

Documentation

liftS :: State a b -> State a [b] Source #

Puts a state-dependent value into a singleton list.

lookupC :: DrasilState -> UID -> QuantityDict Source #

Gets the QuantityDict corresponding to a UID.

convScope :: SharedProg r => ScopeType -> r (Scope r) Source #

Converts a ScopeType to a Scope