git.iko.soy/typeable/servant
on master help sign in
Fixed typo: s/real/realm/

Actually, I'm just trying to learn servant and I'm reading the doc for the first time. But this just looks like a typo to me.

commit47eed38ee6a595ac24fd7b550c5efe9043890af5 authorCornelius Diekmann <c.diekmann@googlemail.com> dateFri 2 Sep 2016, 16:38 (10 years ago) parentd09b70f
1 file changed+2−2
doc/tutorial/ApiType.lhs+2−2
doc/tutorial/ApiType.lhs+2−2
@@ -319,8 +319,8 @@ Which is used like so:
319319
320320``` haskell
321321type ProtectedAPI12
322− = UserAPI -- this is public
323− :<|> BasicAuth "my-real" User :> UserAPI2 -- this is protected by auth
322+ = UserAPI -- this is public
323+ :<|> BasicAuth "my-realm" User :> UserAPI2 -- this is protected by auth
324324```
325325
326326### Interoperability with `wai`: `Raw`