| Safe Haskell | Safe-Inferred | 
|---|---|
| Language | Haskell2010 | 
Language.Drasil.Code.ExtLibImport
Description
Defines functions for simultaneous interpretation of ExternalLibrary and ExternalLibraryCall.
Synopsis
- data ExtLibState = ELS {}
- auxMods :: Lens' ExtLibState [Mod]
- defs :: Lens' ExtLibState [FuncStmt]
- imports :: Lens' ExtLibState [String]
- modExports :: Lens' ExtLibState [(Name, Name)]
- steps :: Lens' ExtLibState [FuncStmt]
- genExternalLibraryCall :: ExternalLibrary -> ExternalLibraryCall -> ExtLibState
Documentation
data ExtLibState Source #
State object used during interpretation of an ExternalLibrary and
 ExternalLibraryCall.
Constructors
| ELS | |
| Fields 
 | |
auxMods :: Lens' ExtLibState [Mod] Source #
defs :: Lens' ExtLibState [FuncStmt] Source #
imports :: Lens' ExtLibState [String] Source #
modExports :: Lens' ExtLibState [(Name, Name)] Source #
steps :: Lens' ExtLibState [FuncStmt] Source #
genExternalLibraryCall :: ExternalLibrary -> ExternalLibraryCall -> ExtLibState Source #
Interprets an ExternalLibrary and ExternalLibraryCall and returns the
 resulting ExtLibState.