Safe Haskell | None |
---|
- class PathPiece s where
- fromPathPiece :: Text -> Maybe s
- toPathPiece :: s -> Text
- class PathMultiPiece s where
- fromPathMultiPiece :: [Text] -> Maybe s
- toPathMultiPiece :: s -> [Text]
- toSinglePiece :: PathPiece p => p -> Text
- toMultiPiece :: PathMultiPiece ps => ps -> [Text]
- fromSinglePiece :: PathPiece p => Text -> Maybe p
- fromMultiPiece :: PathMultiPiece ps => [Text] -> Maybe ps
Documentation
fromPathPiece :: Text -> Maybe sSource
toPathPiece :: s -> TextSource
class PathMultiPiece s whereSource
fromPathMultiPiece :: [Text] -> Maybe sSource
toPathMultiPiece :: s -> [Text]Source
Deprecated
toSinglePiece :: PathPiece p => p -> TextSource
Deprecated: Use toPathPiece instead of toSinglePiece
toMultiPiece :: PathMultiPiece ps => ps -> [Text]Source
Deprecated: Use toPathMultiPiece instead of toMultiPiece
fromSinglePiece :: PathPiece p => Text -> Maybe pSource
Deprecated: Use fromPathPiece instead of fromSinglePiece
fromMultiPiece :: PathMultiPiece ps => [Text] -> Maybe psSource
Deprecated: Use fromPathMultiPiece instead of fromMultiPiece