summaryrefslogtreecommitdiff
path: root/src/Language/GraphQL/Type
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2021-11-23 09:21:07 +0100
committerEugen Wissner <belka@caraus.de>2021-11-23 09:21:07 +0100
commit930b8f10b7d083132c05c8d8fe39f337eeddbeca (patch)
tree698017437214564e6369ba2cbe8fdedf47fb5390 /src/Language/GraphQL/Type
parent0047a13bc0c056d3adc3bbee00284ee07d831cc6 (diff)
downloadgraphql-930b8f10b7d083132c05c8d8fe39f337eeddbeca.tar.gz
Eta reduce and update required hlint
Diffstat (limited to 'src/Language/GraphQL/Type')
-rw-r--r--src/Language/GraphQL/Type/Schema.hs4
1 files changed, 2 insertions, 2 deletions
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]