Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- module Ema.Route.Prism.Type
- module Ema.Route.Prism.Check
- eitherRoutePrism :: (a -> Prism_ FilePath r1) -> (b -> Prism_ FilePath r2) -> (a, b) -> Prism_ FilePath (Either r1 r2)
- htmlSuffixPrism :: Prism' FilePath FilePath
- stringIso :: (ToString a, IsString a) => Iso' String a
- showReadPrism :: (Show a, Read a) => Prism' String a
Documentation
module Ema.Route.Prism.Type
module Ema.Route.Prism.Check
Handy encoders
eitherRoutePrism :: (a -> Prism_ FilePath r1) -> (b -> Prism_ FilePath r2) -> (a, b) -> Prism_ FilePath (Either r1 r2) Source #