From 930b8f10b7d083132c05c8d8fe39f337eeddbeca Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 23 Nov 2021 09:21:07 +0100 Subject: Eta reduce and update required hlint --- src/Language/GraphQL/Type/Schema.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/Language/GraphQL/Type') diff --git a/src/Language/GraphQL/Type/Schema.hs b/src/Language/GraphQL/Type/Schema.hs index ddddb4a..c8ac77a 100644 --- a/src/Language/GraphQL/Type/Schema.hs +++ b/src/Language/GraphQL/Type/Schema.hs @@ -205,5 +205,5 @@ collectImplementations = HashMap.foldr go HashMap.empty let Out.ObjectType _ _ interfaces _ = objectType in foldr (add implementation) accumulator interfaces go _ accumulator = accumulator - add implementation (Out.InterfaceType typeName _ _ _) accumulator = - HashMap.insertWith (++) typeName [implementation] accumulator + add implementation (Out.InterfaceType typeName _ _ _) = + HashMap.insertWith (++) typeName [implementation] -- cgit v1.2.3