settings-0.2.2.0: Runtime-editable program settings.

Safe HaskellSafe
LanguageHaskell2010

Data.Settings.Route

Synopsis

Documentation

parseRoute :: OptPath -> Maybe OptRoute Source

Split a path string into its components, if it's a valid path syntactically.

parseRoute' :: Char -> Char -> OptPath -> Maybe OptRoute Source

Like parseRoute, but allows to choose the escape character (e.g. '\') and the path separator character (e.g. .).

showRoute :: OptRoute -> OptPath Source

Create a string representation of a path, with the parts separated by periods, and literal periods escaped using backslashes.

showRoute' :: Char -> Char -> OptRoute -> OptPath Source

Like showRoute, but allows to choose the escape character (e.g. \\) and the path separator character (e.g. .).