graphql-engine/server/src-lib/Control/Arrow
Auke Booij 5b93014ee8 Make Schema Cache building code slightly more readable
- Avoid a few banana brackets `(| ... |)`, often by just using local `let` bindings
- Use proper `Arrows` syntax rather than helpers like `>->`
- Use monadic `do` syntax instead of `Arrows` syntax where possible
- Avoid `traverseA @Maybe`, in favor of a `case`

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/6751
GitOrigin-RevId: c07b22a1a259db6d135486ec71a716705e280717
2022-11-15 20:14:22 +00:00
..
Extended.hs Make Schema Cache building code slightly more readable 2022-11-15 20:14:22 +00:00
Interpret.hs server: simplify interpretation of concrete monads into abstract arrows 2022-04-04 12:36:35 +00:00
Trans.hs server, pro: actually reformat the code-base using ormolu 2021-09-23 22:57:37 +00:00