summaryrefslogtreecommitdiff
path: root/src/Servant/Links.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Servant/Links.hs')
-rw-r--r--src/Servant/Links.hs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Servant/Links.hs b/src/Servant/Links.hs
index 0d07c20..b42738e 100644
--- a/src/Servant/Links.hs
+++ b/src/Servant/Links.hs
@@ -54,7 +54,7 @@
-- >>> toUrlPiece $ safeLink api without
-- "bye"
--
--- If you would like create a helper for generating links only within that API,
+-- If you would like to create a helper for generating links only within that API,
-- you can partially apply safeLink if you specify a correct type signature
-- like so:
--
@@ -65,7 +65,7 @@
-- >>> apiLink = safeLink api
-- >>> :}
--
--- `safeLink'` allows to make specialise the output:
+-- `safeLink'` allows you to specialise the output:
--
-- >>> safeLink' toUrlPiece api without
-- "bye"
@@ -563,7 +563,7 @@ instance HasLink sub => HasLink (AuthProtect tag :> sub) where
type MkLink (AuthProtect tag :> sub) a = MkLink sub a
toLink = simpleToLink (Proxy :: Proxy sub)
--- | Helper for implemneting 'toLink' for combinators not affecting link
+-- | Helper for implementing 'toLink' for combinators not affecting link
-- structure.
simpleToLink
:: forall sub a combinator.