From a425c3ae4316d1cf0e5a7fe16165077eb3be4777 Mon Sep 17 00:00:00 2001 From: Arash Rouhani Date: Tue, 24 Jan 2017 11:34:55 +0700 Subject: [PATCH] tutorial: Update type of BaseUrl to real type I got confused to why there was one more argument passed to constructor than the type takes. Turns out the docs were just a bit out of date. --- doc/tutorial/Client.lhs | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/tutorial/Client.lhs b/doc/tutorial/Client.lhs index eedcd85d..42150872 100644 --- a/doc/tutorial/Client.lhs +++ b/doc/tutorial/Client.lhs @@ -107,6 +107,7 @@ data BaseUrl = BaseUrl { baseUrlScheme :: Scheme -- ^ URI scheme to use , baseUrlHost :: String -- ^ host (eg "haskell.org") , baseUrlPort :: Int -- ^ port (eg 80) + , baseUrlPath :: String -- ^ path (eg "/a/b/c") } ```