@@ -928,13 +928,13 @@ type GServerConstraints api m =
928-- is provided in this module for all record APIs.
928-- is provided in this module for all record APIs.
930class GServer (api :: * -> *) (m :: * -> *) where
930class GServer (api :: * -> *) (m :: * -> *) where
931− proof :: Dict (GServerConstraints api m)
931+ gServerProof :: Dict (GServerConstraints api m)
934 ( ToServant api (AsServerT m) ~ ServerT (ToServantApi api) m
934 ( ToServant api (AsServerT m) ~ ServerT (ToServantApi api) m
935 , GServantProduct (Rep (api (AsServerT m)))
935 , GServantProduct (Rep (api (AsServerT m)))
936 ) => GServer api m where
936 ) => GServer api m where
937− proof = Dict
937+ gServerProof = Dict
940 ( HasServer (ToServantApi api) context
940 ( HasServer (ToServantApi api) context
@@ -950,7 +950,7 @@ instance
950 -> Delayed env (api (AsServerT Handler))
950 -> Delayed env (api (AsServerT Handler))
951 -> Router env
951 -> Router env
952 route _ ctx delayed =
952 route _ ctx delayed =
953− case proof @api @Handler of
953+ case gServerProof @api @Handler of
954 Dict -> route (Proxy @(ToServantApi api)) ctx (toServant <$> delayed)
954 Dict -> route (Proxy @(ToServantApi api)) ctx (toServant <$> delayed)
956 hoistServerWithContext
956 hoistServerWithContext
@@ -960,7 +960,7 @@ instance
960 -> api (AsServerT m)
960 -> api (AsServerT m)
961 -> api (AsServerT n)
961 -> api (AsServerT n)
962 hoistServerWithContext _ pctx nat server =
962 hoistServerWithContext _ pctx nat server =
963− case (proof @api @m, proof @api @n) of
963+ case (gServerProof @api @m, gServerProof @api @n) of
964 (Dict, Dict) ->
964 (Dict, Dict) ->
965 fromServant servantSrvN
965 fromServant servantSrvN