From 40067eb5117728b9d420ee68d2e9bb4cd5e3dd12 Mon Sep 17 00:00:00 2001 From: Joachim Fasting Date: Wed, 5 Mar 2008 18:13:28 +0000 Subject: [PATCH] [gitconv @ N.M.Commands.Meta: derive Show] Unnecessary to have a manually defined instance that is identical to the derived one. --- Network/MPD/Commands.hs | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/Network/MPD/Commands.hs b/Network/MPD/Commands.hs index b27fae6..38b36cd 100644 --- a/Network/MPD/Commands.hs +++ b/Network/MPD/Commands.hs @@ -92,20 +92,7 @@ type Path = String -- database for entries with certain metadata values. data Meta = Artist | Album | Title | Track | Name | Genre | Date | Composer | Performer | Disc | Any | Filename - -instance Show Meta where - show Artist = "Artist" - show Album = "Album" - show Title = "Title" - show Track = "Track" - show Name = "Name" - show Genre = "Genre" - show Date = "Date" - show Composer = "Composer" - show Performer = "Performer" - show Disc = "Disc" - show Any = "Any" - show Filename = "Filename" + deriving Show -- | A query is composed of a scope modifier and a query string. -- -- 2.11.4.GIT