on master help sign in
Apply hlint suggestion
commitf0097f64085264ef8f9c00ebdb6d7453a69abde4 authorAdam Bergmark <adam@bergmark.nl> dateFri 9 Jun 2017, 16:28 (9 years ago) parent6110e14
1 file changed+1−1
tests/Properties.hs+1−1
tests/Properties.hs+1−1
@@ -127,7 +127,7 @@ parserCatchErrorProp :: [String] -> String -> Property
127127parserCatchErrorProp path msg =
128128 result === Success ([I.Key "outer", I.Key "inner"] ++ jsonPath, msg)
129129 where
130− parser = parserCatchError outer (\p err -> pure (p, err))
130+ parser = parserCatchError outer (curry pure)
131131
132132 outer = inner I.<?> I.Key "outer"
133133 inner = parserThrowError jsonPath msg I.<?> I.Key "inner"