#4429: Ability to specify the namespace in mkName
---------------------------------+------------------------------------------
Reporter: reinerp | Owner: reinerp
Type: feature request | Status: new
Priority: normal | Milestone: 7.4.1
Component: Template Haskell | Version: 6.12.3
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Unknown/Multiple | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Comment(by reinerp):
I just attached the progress I've made so far (as a patch, and also as
prebuilt html files), and I would appreciate some feedback.
I reordered a lot of the exports in {{{Language.Haskell.TH}}} and
{{{Language.Haskell.TH.Syntax}}} to create an order which made more sense
to me, and to break things up into sections.
My patch actually includes a few small changes to the API as well:
* I added functions {{{reportError = report True}}} and {{{reportWarning
= report False}}}, which I think are present a better API than {{{report
:: Bool -> String -> Q ()}}}
* I added some type synonyms, {{{ParentName}}}, {{{Arity}}},
{{{Unlifted}}} for {{{Info}}} type
* I exported {{{unboxedTupleTypeName}}} and {{{unboxedTupleDataName}}}
from {{{Language.Haskell.TH}}}, since it seems to have simply been an
accident that they were omitted.
There were a few other changes I refrained from making, but have described
at #5469.
Reiner
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4429#comment:26>
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