isURI package:yesod-page-cursor

Types that can represent URLs. For example, to parse links containing Text.URI.URI from the modern-uri package, simply define the orphan instance:
instance IsURI Modern.URI where
uriFromText = left displayException . mkURI
uriToText = render