Safe Haskell | None |
---|
- implSite :: (Functor m, Monad m, MonadPlus m, ServerMonad m) => Text -> Text -> Site url (m a) -> m a
- implSite_ :: (Functor m, Monad m, MonadPlus m, ServerMonad m) => Text -> Text -> Site url (m a) -> m (Either String a)
- seeOtherURL :: (MonadRoute m, FilterMonad Response m) => URL m -> m Response
Documentation
:: (Functor m, Monad m, MonadPlus m, ServerMonad m) | |
=> Text | |
-> Text | |
-> Site url (m a) | the |
-> m (Either String a) |
convert a Site
to a normal Happstack route
If url decoding fails, it returns Left the parse error
,
otherwise Right a
.
see also: implSite
seeOtherURL :: (MonadRoute m, FilterMonad Response m) => URL m -> m ResponseSource