clarify haddocks for HasClient

This commit is contained in:
Alp Mestanogullari 2014-12-01 13:41:12 +01:00
parent d93e4620d4
commit 530797eb42

View file

@ -44,9 +44,8 @@ client :: HasClient layout => Proxy layout -> Client layout
client p = clientWithRoute p defReq client p = clientWithRoute p defReq
-- | This class lets us define how each API combinator -- | This class lets us define how each API combinator
-- influences the creation of an HTTP request. Use 'client' -- influences the creation of an HTTP request. It's mostly
-- directly, this class implements the client-side -- an internal class, you can just use 'client'.
-- behavior of each combinator but you don't have to worry about it.
class HasClient layout where class HasClient layout where
type Client layout :: * type Client layout :: *
clientWithRoute :: Proxy layout -> Req -> Client layout clientWithRoute :: Proxy layout -> Req -> Client layout