Yielding for safe instances of HasLink

This commit is contained in:
Alejandro D. P 2016-08-15 01:44:23 +02:00
parent d0a28e46b0
commit 4e8a8c3a27

View file

@ -307,8 +307,8 @@ instance HasLink sub => HasLink (BasicAuth realm a :> sub) where
-- Verb (terminal) instances
instance HasLink (Verb m s ct a) where
type MkLink (Verb m s ct a) = URI
toLink _ = linkURI
type MkLink (Verb m s ct a) = Link
toLink _ = id
instance HasLink Raw where
type MkLink Raw = URI