#1839: need ghc-pkg dump feature
-----------------------------+----------------------------------------------
Reporter: duncan | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: 6.10 branch
Component: Compiler | Version: 6.8.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
-----------------------------+----------------------------------------------
Comment (by duncan):
Replying to [comment:1 igloo]:
> I'd expect a dump command to give data in a lower-level format, e.g.
Show/Read.
Well I don't see that it makes a great deal of difference. We have parsers
and printer functions for both formats anyway. The Read/Show format is
more fragile when it comes to adding fields. The Read/Show format is not
necessarily faster. The non-Read/Show format is easier to read and debug I
think.
> I think the ghc-pkg flags have grown a bit crufty; perhaps we should
rethink them for 6.10?
Yes. For example it is currently extremely hard to find the packages of a
given name in a specific package database. The list and field commands
always search all packages (global, user, explicitly specified).
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1839#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