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.
commita425c3ae4316d1cf0e5a7fe16165077eb3be4777
authorArash Rouhani <arashrk@vng.com.vn>
dateTue 24 Jan 2017, 11:34 (10 years ago)
parente26f123
doc/tutorial/Client.lhs+1
@@ -107,6 +107,7 @@ data BaseUrl = BaseUrl
107107 { baseUrlScheme :: Scheme -- ^ URI scheme to use
108108 , baseUrlHost :: String -- ^ host (eg "haskell.org")
109109 , baseUrlPort :: Int -- ^ port (eg 80)
110+ , baseUrlPath :: String -- ^ path (eg "/a/b/c")
110111 }
111112```
112113