I’d combine them; but make sure you add a Note explaining the purpose of the 
extra fields is.  Maybe you can use the same Note

S

From: ghc-devs [mailto:[email protected]] On Behalf Of Alan & Kim 
Zimmerman
Sent: 05 December 2014 08:55
To: [email protected]
Subject: Re: API Annotations for pragmas

I already have an open diff in D538, covering haddock doc changes for the API 
annotations, and bringing in a `SourceText` field for HsTyLit.
Should I include the changes for SourceText in pragmas in D538, or create a new 
one?
Alan

On Thu, Dec 4, 2014 at 11:52 AM, Alan & Kim Zimmerman 
<[email protected]<mailto:[email protected]>> wrote:
It seems that pragma definitions in source are not only case insensitive, but 
can accept UK or US spelling variants.
I am going to need to capture SourceText values in the tokens, and bring them 
through into the AST.
Alan

_______________________________________________
ghc-devs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/ghc-devs

Reply via email to