Folks Mikhail has improved Template Haskell's handling of INLINE pragmas, SPECIALISE pragmas, and RULES. I plan to commit his patch: http://hackage.haskell.org/trac/ghc/ticket/7064 This of course involves some changes to TH.Syntax, which will affect you if you are using the (limited) existing support for pragmas in TH. Yell if you want to suggest any modifications to what Mikhail has done. (Including things like what to call the types and their data constructors.) The patch is attached to the ticket. Thanks to Mikhail. Simon
Hi Simon. On Wed, Jul 18, 2012 at 7:25 PM, Simon Peyton-Jones <simonpj@microsoft.com> wrote:
Mikhail has improved Template Haskell’s handling of INLINE pragmas, SPECIALISE pragmas, and RULES. I plan to commit his patch BTW, is there a reason why you use commit messages to attribute other people's work instead of `git am` or `git commit --author=...`?
On 20/07/2012 03:33, Mikhail Vorozhtsov wrote:
Hi Simon.
On Wed, Jul 18, 2012 at 7:25 PM, Simon Peyton-Jones <simonpj@microsoft.com> wrote:
Mikhail has improved Template Haskell’s handling of INLINE pragmas, SPECIALISE pragmas, and RULES. I plan to commit his patch BTW, is there a reason why you use commit messages to attribute other people's work instead of `git am` or `git commit --author=...`?
We normally use 'git am' to apply patches from tickets, and I have certainly used --author from time to time if I need to edit and recommit a patch for some reason (perhaps Simon isn't familiar with --author though). Cheers, Simon
On 07/18/2012 07:25 PM, Simon Peyton-Jones wrote:
Folks
Mikhail has improved Template Haskell’s handling of INLINE pragmas, SPECIALISE pragmas, and RULES. I plan to commit his patch:
http://hackage.haskell.org/trac/ghc/ticket/7064 Will the patch make it to 7.6? I have 6 unpublished libraries that depend (transitively) on the RULES pragma support in TH. It would be nice to not have to wait for another 6 months to put them on hackage.
participants (3)
-
Mikhail Vorozhtsov -
Simon Marlow -
Simon Peyton-Jones