#5854: TH: INLINABLE pragma support (patch)
---------------------------------+------------------------------------------
Reporter: mikhail.vorozhtsov | Owner:
Type: feature request | Status: closed
Priority: normal | Milestone:
Component: Template Haskell | Version: 7.4.1
Resolution: fixed | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: None/Unknown | Difficulty: Unknown
Testcase: | Blockedby:
Blocking: | Related:
---------------------------------+------------------------------------------
Changes (by simonpj):
* status: patch => closed
* difficulty: => Unknown
* resolution: => fixed
Comment:
Mikhail, I'm sorry this has taken so long, but I've now committed your
changes more or less exactly as you offered them. Thanks!
Simon
To the compiler
{{{
commit b6bf6abe2b5729137391a88c8deb4cc7ed851375
Author: Simon Peyton Jones <[email protected]>
Date: Fri May 18 10:10:02 2012 +0100
Allow INLINABLE pragmas in TH
Thanks to mikhail.vorozhtsov for doing the work
compiler/deSugar/DsMeta.hs | 55
+++++++++++++++++++++++++++++++------------
compiler/hsSyn/Convert.lhs | 11 ++++----
2 files changed, 45 insertions(+), 21 deletions(-)
}}}
And in `template-haskell`:
{{{
commit 6c0b59b8d9db5ce12e5b566a2c3cf6889a00aca4
Author: Simon Peyton Jones <[email protected]>
Date: Fri May 18 10:03:50 2012 +0100
Add INLINABLE pragmas in Template Haskell
Thanks to mikhail.vorozhtsov for doing the work
Language/Haskell/TH.hs | 12 ++++++------
Language/Haskell/TH/Lib.hs | 4 ++--
Language/Haskell/TH/Ppr.hs | 10 ++++++++--
Language/Haskell/TH/Syntax.hs | 13 +++++++++----
4 files changed, 25 insertions(+), 14 deletions(-)
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5854#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs