From 53bcb23e6a57fed66da8e3cd1a388ac6ab29cc4e Mon Sep 17 00:00:00 2001 From: Joe Crayne Date: Sat, 23 Mar 2019 21:24:45 -0400 Subject: Document fnArgs field of FunctionEnvironment. --- monkeypatch.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/monkeypatch.hs b/monkeypatch.hs index 0b115e3..f825868 100644 --- a/monkeypatch.hs +++ b/monkeypatch.hs @@ -822,6 +822,8 @@ symbolInformation = SymbolInformation data FunctionEnvironment = FunctionEnvironment { fnExternals :: Map String (SymbolInformation [CExternalDeclaration NodeInfo]) , fnArgs :: Map String (HS.Type ()) + -- ^ Function name arguments and their type. + -- The return type is also stored here under the empty string key. } data Transpile c = Transpile -- cgit v1.2.3