on master help sign in
clarify haddocks for HasClient
530797eAlp Mestanogullari
src/Servant/Client.hs+2−3
@@ -44,9 +44,8 @@ client :: HasClient layout => Proxy layout -> Client layout
44client p = clientWithRoute p defReq
44client p = clientWithRoute p defReq
45
45
46-- | This class lets us define how each API combinator
46-- | This class lets us define how each API combinator
47−-- influences the creation of an HTTP request. Use 'client'
47+-- influences the creation of an HTTP request. It's mostly
48−-- directly, this class implements the client-side
48+-- an internal class, you can just use 'client'.
49−-- behavior of each combinator but you don't have to worry about it.
50class HasClient layout where
49class HasClient layout where
51 type Client layout :: *
50 type Client layout :: *
52 clientWithRoute :: Proxy layout -> Req -> Client layout
51 clientWithRoute :: Proxy layout -> Req -> Client layout