X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FTSN%2FXML%2FInjuries.hs;h=a93d788dd60f8cda40244f9b1574976211b0c9a4;hb=ef96e8bf0cadf5d602022f8c91914d3cabeb35a0;hp=7ffca2658d5baabefd5de87b95958de0de2f4259;hpb=4cdcdbe593c30f6434a25896951a1a4dfcc2b1ca;p=dead%2Fhtsn-import.git diff --git a/src/TSN/XML/Injuries.hs b/src/TSN/XML/Injuries.hs index 7ffca26..a93d788 100644 --- a/src/TSN/XML/Injuries.hs +++ b/src/TSN/XML/Injuries.hs @@ -14,8 +14,8 @@ -- automatically. The root message is not retained. -- module TSN.XML.Injuries ( - Message, - injuries_tests ) + injuries_tests, + pickle_message ) where import Data.Data ( Data ) @@ -31,7 +31,6 @@ import Test.Tasty ( TestTree, testGroup ) import Test.Tasty.HUnit ( (@?=), testCase ) import Text.XML.HXT.Core ( PU, - XmlPickler(..), xp4Tuple, xp6Tuple, xpAttr, @@ -110,8 +109,6 @@ pickle_injuries_team = from_tuple = uncurryN InjuriesTeam to_tuple m = (team_name m, team_league m) -instance XmlPickler InjuriesTeam where - xpickle = pickle_injuries_team pickle_listing :: PU Listing pickle_listing = @@ -125,9 +122,6 @@ pickle_listing = from_tuple = uncurryN Listing to_tuple l = (team l, teamno l, injuries l, updated l) -instance XmlPickler Listing where - xpickle = pickle_listing - pickle_message :: PU Message pickle_message = @@ -148,9 +142,6 @@ pickle_message = listings m, time_stamp m) -instance XmlPickler Message where - xpickle = pickle_message - -- * Tasty Tests