| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Drasil.Shared.LanguageRenderer.Common
Description
Implementations defined here are valid in some, but not all, language renderers
Synopsis
- boolRender :: String
- bool :: Monad r => VSType r
- extVar :: CommonRenderSym r => Label -> Label -> VSType r -> SVariable r
- funcType :: (Monad r, UnRepr r TypeData) => [VSType r] -> VSType r -> VSType r
- extFuncAppMixedArgs :: CommonRenderSym r => Library -> MixedCall r
- listAccessFunc :: (CommonRenderSym r, UnRepr r TypeData) => VSType r -> SValue r -> VSFunction r
- listSetFunc :: (CommonRenderSym r, UnRepr r TypeData) => (Doc -> Doc -> Doc) -> SValue r -> SValue r -> SValue r -> VSFunction r
- forEach' :: CommonRenderSym r => (r (Variable r) -> r (Value r) -> r (Body r) -> Doc) -> SVariable r -> SValue r -> MSBody r -> MSStatement r
- varDecDef :: CommonRenderSym r => SVariable r -> r ScopeData -> Maybe (SValue r) -> MSStatement r
- listSize :: CommonRenderSym r => SValue r -> SValue r
- increment :: CommonRenderSym r => SVariable r -> SValue r -> MSStatement r
Documentation
boolRender :: String Source #
extFuncAppMixedArgs :: CommonRenderSym r => Library -> MixedCall r Source #
listAccessFunc :: (CommonRenderSym r, UnRepr r TypeData) => VSType r -> SValue r -> VSFunction r Source #
listSetFunc :: (CommonRenderSym r, UnRepr r TypeData) => (Doc -> Doc -> Doc) -> SValue r -> SValue r -> SValue r -> VSFunction r Source #
forEach' :: CommonRenderSym r => (r (Variable r) -> r (Value r) -> r (Body r) -> Doc) -> SVariable r -> SValue r -> MSBody r -> MSStatement r Source #
varDecDef :: CommonRenderSym r => SVariable r -> r ScopeData -> Maybe (SValue r) -> MSStatement r Source #
listSize :: CommonRenderSym r => SValue r -> SValue r Source #
Call to get the size of a list in a language where this is not a method.
increment :: CommonRenderSym r => SVariable r -> SValue r -> MSStatement r Source #