Safe Haskell | Safe-Infered |
---|
- 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
toMultiPiece :: PathMultiPiece ps => ps -> [Text]Source
fromSinglePiece :: PathPiece p => Text -> Maybe pSource
fromMultiPiece :: PathMultiPiece ps => [Text] -> Maybe psSource