path-pieces-0.2.0: Components of paths.

Safe HaskellSafe-Inferred
LanguageHaskell98

Web.PathPieces

Contents

Synopsis

Documentation

class PathMultiPiece s where Source

Methods

fromPathMultiPiece :: [Text] -> Maybe s Source

toPathMultiPiece :: s -> [Text] Source

Instances

Deprecated

toSinglePiece :: PathPiece p => p -> Text Source

Deprecated: Use toPathPiece instead of toSinglePiece

toMultiPiece :: PathMultiPiece ps => ps -> [Text] Source

Deprecated: Use toPathMultiPiece instead of toMultiPiece

fromSinglePiece :: PathPiece p => Text -> Maybe p Source

Deprecated: Use fromPathPiece instead of fromSinglePiece

fromMultiPiece :: PathMultiPiece ps => [Text] -> Maybe ps Source

Deprecated: Use fromPathMultiPiece instead of fromMultiPiece