retreive a list of installed packages

22 Dec
2013
22 Dec
'13
9:38 a.m.
Is there any simple way for a program to retrieve a list of installed packages (such as ghc-pkg list returns), or would it be easier to execute phc-pkg as an external process and catch the output?

22 Dec
22 Dec
3:35 p.m.
On Sun, Dec 22, 2013 at 02:38:53PM +0000, harry wrote:
Is there any simple way for a program to retrieve a list of installed packages (such as ghc-pkg list returns), or would it be easier to execute phc-pkg as an external process and catch the output?
Try the hackage-db package: http://hackage.haskell.org/package/hackage%2Ddb -Brent
4167
Age (days ago)
4167
Last active (days ago)
1 comments
2 participants
participants (2)
-
Brent Yorgey
-
harry