informative-0.1.0.11: A yesod subsite serving a wiki.

Safe HaskellNone
LanguageHaskell2010

Web.Informative

Documentation

type WikiHandler a = forall master. (YesodWikiAuth master, YesodPersist master, YesodPersistBackend master ~ SqlBackend) => HandlerT Informative (HandlerT master IO) a Source

class (Yesod master, RenderMessage master FormMessage) => YesodWikiAuth master where Source

remCR :: [Char] -> [Char] Source

renderEditArticle :: YesodWikiAuth master => [Entity Wikisugg] -> Bool -> (AuthRoute -> Route master) -> (Route Informative -> Route master) -> Route master -> Maybe Html -> Maybe (Either Html [[Html]]) -> TextKind -> PageContent (Route master) -> Text -> HandlerT Informative (HandlerT master IO) Html Source