on master help sign in
Make servant-foreign build on GHC 8.2
ec4573dRyan Scott
servant-foreign/src/Servant/Foreign/Internal.hs+1−1
@@ -189,7 +189,7 @@ instance (HasForeign lang ftype a, HasForeign lang ftype b)
189
189
190instance (KnownSymbol sym, HasForeignType lang ftype t, HasForeign lang ftype api)
190instance (KnownSymbol sym, HasForeignType lang ftype t, HasForeign lang ftype api)
191 => HasForeign lang ftype (Capture sym t :> api) where
191 => 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
193
193
194 foreignFor lang Proxy Proxy req =
194 foreignFor lang Proxy Proxy req =
195 foreignFor lang Proxy (Proxy :: Proxy api) $
195 foreignFor lang Proxy (Proxy :: Proxy api) $