ytl-0.1.0.0: mtl-style transformations for Yesod sites
Safe HaskellNone
LanguageHaskell2010

Yesod.Site.Util

Documentation

type SiteCompatible site site' = (Coercible (Route site) (Route site'), Coercible (Route site') (Route site)) Source #

getSite :: HandlerData child site -> site Source #

withSite :: SiteCompatible site site' => (site -> site') -> HandlerData site site -> HandlerData site' site' Source #

withWidgetSite :: SiteCompatible site site' => (site -> site') -> WidgetData site -> WidgetData site' Source #