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