Skip to content

Commit a425c3a

Browse files
committed
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.
1 parent e26f123 commit a425c3a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/tutorial/Client.lhs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

0 commit comments

Comments
 (0)