summaryrefslogtreecommitdiff
path: root/src/Servant/Links.hs
diff options
context:
space:
mode:
authorMatthiasFischmann <>2020-07-31 18:29:00 (GMT)
committerhdiff <hdiff@hdiff.luite.com>2020-07-31 18:29:00 (GMT)
commit14b40630d4a7e0b8f1d201b33961a11d5b5ea974 (patch)
tree9bfad773da3672c77dd7bc8917b6734595ae3850 /src/Servant/Links.hs
parent709a03143ca08256063d5d59dc524c6eefe41817 (diff)
version 0.18HEAD0.18master
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.