From: simonmar Date: Fri, 23 Feb 2001 09:48:14 +0000 (+0000) Subject: [project @ 2001-02-23 09:48:14 by simonmar] X-Git-Tag: Approximately_9120_patches~2559 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=bd9f6234743d74fa769f0b32ff3e35dfd44c1798;p=ghc-hetmet.git [project @ 2001-02-23 09:48:14 by simonmar] don't need to derive Show on the Package datatype now. --- diff --git a/ghc/driver/Package.hs b/ghc/driver/Package.hs index d842d12..dac54f2 100644 --- a/ghc/driver/Package.hs +++ b/ghc/driver/Package.hs @@ -15,7 +15,7 @@ data Package = Package { extra_cc_opts :: [String], extra_ld_opts :: [String] } - deriving (Read, Show) + deriving Read listPkgs :: [Package] -> String listPkgs pkgs = render (fsep (punctuate comma (map (text . name) pkgs)))