Merge pull request #722 from RyanGlScott/master
Make servant-foreign build on GHC 8.2
This commit is contained in:
commit
86ad89b15c
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ instance (HasForeign lang ftype a, HasForeign lang ftype b)
|
||||||
|
|
||||||
instance (KnownSymbol sym, HasForeignType lang ftype t, HasForeign lang ftype api)
|
instance (KnownSymbol sym, HasForeignType lang ftype t, HasForeign lang ftype api)
|
||||||
=> HasForeign lang ftype (Capture sym t :> api) where
|
=> HasForeign lang ftype (Capture sym t :> api) where
|
||||||
type Foreign ftype (Capture sym a :> api) = Foreign ftype api
|
type Foreign ftype (Capture sym t :> api) = Foreign ftype api
|
||||||
|
|
||||||
foreignFor lang Proxy Proxy req =
|
foreignFor lang Proxy Proxy req =
|
||||||
foreignFor lang Proxy (Proxy :: Proxy api) $
|
foreignFor lang Proxy (Proxy :: Proxy api) $
|
||||||
|
|
Loading…
Reference in a new issue