brandonchinn178 / aeson-schemas

Easily consume JSON data on-demand with type-safety
http://hackage.haskell.org/package/aeson-schemas
BSD 3-Clause "New" or "Revised" License
52 stars 1 forks source link

Remove use of type applications in getKey #16

Closed brandon-leapyear closed 4 years ago

brandon-leapyear commented 4 years ago

When generating a get quasiquoter, we currently generate getKey @"foo", which requires the user to turn on TypeApplications (ghc 8.8 started enforcing this).

We could avoid forcing this extension by generating getKey (Proxy :: Proxy "foo") instead