on master help sign in
Merge pull request #722 from RyanGlScott/master

Make servant-foreign build on GHC 8.2

commit86ad89b15c157d384b651717d54efb675659feb0 authorOleg Grenrus <oleg.grenrus@iki.fi> dateSat 1 Apr 2017, 22:14 (10 years ago) parentf05b394ec4573d
1 file changed+1−1
servant-foreign/src/Servant/Foreign/Internal.hs+1−1
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) $