path-pieces-0.2.0: Components of paths.

Safe HaskellSafe
LanguageHaskell98

Web.PathPieces

Contents

Synopsis

Documentation

class PathMultiPiece s where

Instances

Deprecated

toSinglePiece :: PathPiece p => p -> Text

Deprecated: Use toPathPiece instead of toSinglePiece

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

Deprecated: Use toPathMultiPiece instead of toMultiPiece

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

Deprecated: Use fromPathPiece instead of fromSinglePiece

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

Deprecated: Use fromPathMultiPiece instead of fromMultiPiece