]> gitweb.michael.orlitzky.com - dead/htsn-import.git/commitdiff
Fix hlint suggestion.
authorMichael Orlitzky <michael@orlitzky.com>
Thu, 16 Jan 2014 01:34:34 +0000 (20:34 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Thu, 16 Jan 2014 01:34:34 +0000 (20:34 -0500)
src/TSN/Picklers.hs

index c67b5c924e62581ab8af566bfb7b590f1e1d190c..72ab4553a9dac895d6b0c77698c0c4a89f6da79b 100644 (file)
@@ -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