Add docs for ServerT

This commit is contained in:
Daan Rijks 2022-03-29 17:00:00 +02:00
parent 658585a7cd
commit 935a0ffede

View File

@ -112,6 +112,10 @@ import Servant.API.TypeLevel
(AtLeastOneFragment, FragmentUnique)
class HasServer api context where
-- | The type of a server for this API, given a monad to run effects in.
--
-- Note that the result kind is @*@, so it is /not/ a monad transformer, unlike
-- what the @T@ in the name might suggest.
type ServerT api (m :: * -> *) :: *
route ::