diff options
author | Joe Crayne <joe@jerkface.net> | 2019-03-23 21:24:45 -0400 |
---|---|---|
committer | Joe Crayne <joe@jerkface.net> | 2019-03-23 21:24:45 -0400 |
commit | 53bcb23e6a57fed66da8e3cd1a388ac6ab29cc4e (patch) | |
tree | 93f1b0be7a754e48bc60b0fcb14b0c02f1e07167 | |
parent | d5fd902d4e95c8e78cc658147499883d21218225 (diff) |
Document fnArgs field of FunctionEnvironment.
-rw-r--r-- | monkeypatch.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/monkeypatch.hs b/monkeypatch.hs index 0b115e3..f825868 100644 --- a/monkeypatch.hs +++ b/monkeypatch.hs | |||
@@ -822,6 +822,8 @@ symbolInformation = SymbolInformation | |||
822 | data FunctionEnvironment = FunctionEnvironment | 822 | data FunctionEnvironment = FunctionEnvironment |
823 | { fnExternals :: Map String (SymbolInformation [CExternalDeclaration NodeInfo]) | 823 | { fnExternals :: Map String (SymbolInformation [CExternalDeclaration NodeInfo]) |
824 | , fnArgs :: Map String (HS.Type ()) | 824 | , fnArgs :: Map String (HS.Type ()) |
825 | -- ^ Function name arguments and their type. | ||
826 | -- The return type is also stored here under the empty string key. | ||
825 | } | 827 | } |
826 | 828 | ||
827 | data Transpile c = Transpile | 829 | data Transpile c = Transpile |