web-routes-generics-0.1.0.1: portable, type-safe URL routing
Web.Routes.Generics
class GToURL f where Source #
Methods
gtoPathSegments :: f a -> [Text] Source #
gfromPathSegments :: URLParser (f a) Source #
Defined in Web.Routes.Generics
gtoPathSegments :: U1 a -> [Text] Source #
gfromPathSegments :: URLParser (U1 a) Source #
gtoPathSegments :: S1 c f a -> [Text] Source #
gfromPathSegments :: URLParser (S1 c f a) Source #
gtoPathSegments :: K1 i a a0 -> [Text] Source #
gfromPathSegments :: URLParser (K1 i a a0) Source #
gtoPathSegments :: D1 c f a -> [Text] Source #
gfromPathSegments :: URLParser (D1 c f a) Source #
gtoPathSegments :: (f :*: g) a -> [Text] Source #
gfromPathSegments :: URLParser ((f :*: g) a) Source #
gtoPathSegments :: (f :+: g) a -> [Text] Source #
gfromPathSegments :: URLParser ((f :+: g) a) Source #
gtoPathSegments :: C1 c f a -> [Text] Source #
gfromPathSegments :: URLParser (C1 c f a) Source #