Ema.Route.Prism.Check
checkRoutePrismGivenFilePath :: (HasCallStack, Eq r, Show r) => (a -> Prism_ FilePath r) -> a -> FilePath -> Either (r, [(FilePath, Text)]) (Maybe r) Source #
checkRoutePrismGivenRoute :: (HasCallStack, Eq r, Show r) => (a -> Prism_ FilePath r) -> a -> r -> Either Text () Source #