Make servant-foreign build on GHC 8.2
commitec4573d988acca368b098013345986cf585f4880
authorRyan Scott <ryan.gl.scott@gmail.com>
dateSat 1 Apr 2017, 13:56 (10 years ago)
parentf05b394
servant-foreign/src/Servant/Foreign/Internal.hs+1−1
@@ -189,7 +189,7 @@ instance (HasForeign lang ftype a, HasForeign lang ftype b)
189189
190190instance (KnownSymbol sym, HasForeignType lang ftype t, HasForeign lang ftype api)
191191 => HasForeign lang ftype (Capture sym t :> api) where
192− type Foreign ftype (Capture sym a :> api) = Foreign ftype api
192+ type Foreign ftype (Capture sym t :> api) = Foreign ftype api
193193
194194 foreignFor lang Proxy Proxy req =
195195 foreignFor lang Proxy (Proxy :: Proxy api) $