From c839aace33fc24ca5c94b66a7d69f0927e439cb7 Mon Sep 17 00:00:00 2001 From: joshvera Date: Tue, 14 Jun 2016 14:37:02 -0700 Subject: [PATCH] Args docs --- src/Syntax.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Syntax.hs b/src/Syntax.hs index 63cb0ffda..cdd8395ac 100644 --- a/src/Syntax.hs +++ b/src/Syntax.hs @@ -29,5 +29,7 @@ data Syntax -- | A method call consisting of its target, the method name, and the parameters passed to the method. -- | e.g. in Javascript console.log('hello') represents a method call. | MethodCall { targetId :: f, methodId :: f, methodParams :: f } + -- | The list of arguments to a method call. + -- | TODO: It might be worth removing this and using Fixed instead. | Args [f] deriving (Functor, Show, Eq, Foldable, Traversable)