From 9d9e3e295fd3b483b8a880abcf5dc50a9bb5d4c3 Mon Sep 17 00:00:00 2001 From: Rick Winfrey Date: Wed, 11 Jan 2017 15:06:06 -0800 Subject: [PATCH] Add FieldDecl Syntax --- src/Syntax.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Syntax.hs b/src/Syntax.hs index 8344d9e6a..58597fab1 100644 --- a/src/Syntax.hs +++ b/src/Syntax.hs @@ -98,6 +98,8 @@ data Syntax a f | ParameterDecl (Maybe f) f -- | A type declaration. | TypeDecl f f + -- | A field declaration. + | FieldDecl f (Maybe f) deriving (Eq, Foldable, Functor, Generic, Generic1, Mergeable, Ord, Show, Traversable, ToJSON)