Explicitly state that we're adding a dependency here

This commit is contained in:
JoeMShanahan 2017-07-17 10:14:42 +01:00
parent c24096be16
commit 160cda2602

View file

@ -281,7 +281,7 @@ lookupAccount key = case Map.lookup key database of
For generalized authentication, servant exposes the `AuthHandler` type,
which is used to wrap the `Request -> Handler user` logic. Let's
create a value of type `AuthHandler Request Account` using the above `lookupAccount`
method:
method (note: we depend upon `cookie`'s `parseCookies` for this):
```haskell
import Web.Cookie (parseCookies)