Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
- class MonadReader Text m => UrlReader m where
- runUrlReader :: m a -> Text -> a
- class Monad m => Url a m where
- renderUrl :: a -> m Text
- module UrlPath.Types
Documentation
class MonadReader Text m => UrlReader m where Source
Convenience typeclass for a uniform interface into pure Reader
-like
monads.
:: m a | Monadic reader-like computation |
-> Text |
|
-> a | Result |
class Monad m => Url a m where Source
Url
takes an input type a
, and returns a modality f
around T.Text
.
Url Text Identity | |
Url UrlString AbsoluteUrl | |
Url UrlString GroundedUrl | |
Url UrlString RelativeUrl | |
Monad m => Url UrlString (AbsoluteUrlT m) | |
Monad m => Url UrlString (GroundedUrlT m) | |
Monad m => Url UrlString (RelativeUrlT m) |
module UrlPath.Types