From: Michael Orlitzky Date: Thu, 16 Jan 2014 01:34:34 +0000 (-0500) Subject: Fix hlint suggestion. X-Git-Tag: 0.0.1~43 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=a7eb780caf68b29c07815aba302abefe89ad4f43;p=dead%2Fhtsn-import.git Fix hlint suggestion. --- diff --git a/src/TSN/Picklers.hs b/src/TSN/Picklers.hs index c67b5c9..72ab455 100644 --- a/src/TSN/Picklers.hs +++ b/src/TSN/Picklers.hs @@ -52,7 +52,7 @@ xp_gamedate = parseTime defaultTimeLocale format s' where s' = case (reverse s) of - (c2:c1:cs) -> let suffix = c1:(c2:[]) + (c2:c1:cs) -> let suffix = [c1,c2] in case suffix of "st" -> reverse cs