drasil-code-0.1.9.0: A framework for code and document generation for scientific software - Code SubPackage
Safe HaskellNone
LanguageGHC2024

Language.Drasil.Code.Imperative.Helpers

Synopsis

Documentation

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

Puts a state-dependent value into a singleton list.

convScope :: forall {k} r (scope :: k). ScopeSym r scope => ScopeType -> r scope Source #

Converts a ScopeType to a Scope