severely increases the shift/reduce conflicts to 83; I couldn't find out what the expected norm here is.
B) Whether adding separate fields for TVs and Context to the GadtDecl data type is the desired API, as they are only Just values when we're parsing a GADT record. For normal GADT types, the field are empty as TVs and context are parsed as part of the Type.
Fixes #404
Doesn't implement parser for the
forall .
bit yet; suggestions appreciated.The reason I didn't add a parser for the
forall .
bit is:A) Adding something like:
severely increases the
shift/reduce
conflicts to 83; I couldn't find out what the expected norm here is.B) Whether adding separate fields for TVs and Context to the
GadtDecl
data type is the desired API, as they are onlyJust
values when we're parsing a GADT record. For normal GADT types, the field are empty as TVs and context are parsed as part of the Type.