Web.View.Types.Url
type Segment = Text Source #
pathUrl :: [Segment] -> Url Source #
cleanSegment :: Segment -> Segment Source #
pathSegments :: Text -> [Segment] Source #
data Url Source #
Constructors
Fields
Defined in Web.View.Types.Url
Methods
fromString :: String -> Url #
mempty :: Url #
mappend :: Url -> Url -> Url #
mconcat :: [Url] -> Url #
(<>) :: Url -> Url -> Url #
sconcat :: NonEmpty Url -> Url #
stimes :: Integral b => b -> Url -> Url #
readsPrec :: Int -> ReadS Url #
readList :: ReadS [Url] #
readPrec :: ReadPrec Url #
readListPrec :: ReadPrec [Url] #
showsPrec :: Int -> Url -> ShowS #
show :: Url -> String #
showList :: [Url] -> ShowS #
(==) :: Url -> Url -> Bool #
(/=) :: Url -> Url -> Bool #
url :: Text -> Url Source #
renderUrl :: Url -> Text Source #