on master help sign in
point-freeness
3acded2Matthias Fischmann
Data/Aeson/Types/Instances.hs+1−1
@@ -522,7 +522,7 @@ instance FromJSON ZonedTime where
522 ["T%R", "T%T", "T%T%Q", "T%T%QZ", "T%T%Q%z"]
522 ["T%R", "T%T", "T%T%Q", "T%T%QZ", "T%T%Q%z"]
523
523
524 distributeList xs ys =
524 distributeList xs ys =
525− foldr (\x acc -> acc ++ distribute x ys) [] xs
525+ foldr (\x -> (++ distribute x ys)) [] xs
526 distribute x = map (mappend x)
526 distribute x = map (mappend x)
527
527
528 parseJSON v = typeMismatch "ZonedTime" v
528 parseJSON v = typeMismatch "ZonedTime" v