From 530797eb42b9664ddd3c26a0a3416ec7c73b80c2 Mon Sep 17 00:00:00 2001 From: Alp Mestanogullari Date: Mon, 1 Dec 2014 13:41:12 +0100 Subject: [PATCH] clarify haddocks for HasClient --- src/Servant/Client.hs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Servant/Client.hs b/src/Servant/Client.hs index 87c9e1d4..8b4f5628 100644 --- a/src/Servant/Client.hs +++ b/src/Servant/Client.hs @@ -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