Skip to content

Commit

Permalink
Fix MkLink instance
Browse files Browse the repository at this point in the history
  • Loading branch information
dmjio committed Jul 5, 2018
1 parent f4772b3 commit c845fec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ghc-src/Miso/Html/Internal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ newtype View action = View { runView :: VTree action }
instance HasLink (View a) where
#if MIN_VERSION_servant(0,14,0)
type MkLink (View a) b = MkLink (Get '[] ()) b
toLink Proxy toA = toLink toA (Proxy :: Proxy (Get '[] ()))
toLink toA Proxy = toLink toA (Proxy :: Proxy (Get '[] ()))
#else
type MkLink (View a) = MkLink (Get '[] ())
toLink Proxy = toLink (Proxy :: Proxy (Get '[] ()))
Expand Down

0 comments on commit c845fec

Please sign in to comment.