Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype FolderRoute (prefix :: Symbol) r = FolderRoute {
- unFolderRoute :: r
- prefixRoutePrism :: forall prefix r. KnownSymbol prefix => (RouteModel r -> Prism_ FilePath r) -> RouteModel r -> Prism_ FilePath (FolderRoute prefix r)
Documentation
newtype FolderRoute (prefix :: Symbol) r Source #
A route that is prefixed at some URL prefix
FolderRoute | |
|
Instances
prefixRoutePrism :: forall prefix r. KnownSymbol prefix => (RouteModel r -> Prism_ FilePath r) -> RouteModel r -> Prism_ FilePath (FolderRoute prefix r) Source #
Prefix the encoding of the given route prism.