[GHC] #7730: :info and polykinds
GHC
ghc-devs at haskell.org
Fri May 9 11:49:17 UTC 2014
#7730: :info and polykinds
--------------------------------------------+------------------------------
Reporter: monoidal | Owner: archblob
Type: bug | Status: new
Priority: normal | Milestone: 7.10.1
Component: Compiler (Type checker) | Version: 7.6.2
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
Type of failure: None/Unknown | Unknown/Multiple
Test Case: | Difficulty: Unknown
Blocking: | Blocked By:
| Related Tickets: #8776
--------------------------------------------+------------------------------
Comment (by simonmar):
@archblob asked me about this on IRC. I suggested that rather than making
`ifName` a qualified name, it would be better to pass in the `Name` when
pretty printing the `IfaceDecl`. There's only one `ifName` per
`IfaceDecl`, so passing it in separately should be fine.
I wonder about things like constructor names (`ifConOcc`), record field
names (`ifConFields`), and method names though. Perhaps they need to be
qualified too. In which case you'll need to pass in more `Name`s for
those.
Another thought I had is that perhaps it would be better to reify the
stuff into `THSyn` and print that instead. `THSyn` is closer to Haskell
than `IfaceSyn`. But perhaps that would mean duplicating the tidying
logic?
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7730#comment:39>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list