WashNGo-2.12.0.1: WASH is a family of EDSLs for programming Web applications in Haskell.Source codeContentsIndex
WASH.Utility.FileNames
Description
Collection of function for manipulating file names.
Synopsis
longestSuffix :: (a -> Bool) -> [a] -> [a]
filePart :: String -> String
extName :: String -> String
baseName :: String -> String
fileToPath :: String -> [String]
dropLastComponent :: String -> String
Documentation
longestSuffix :: (a -> Bool) -> [a] -> [a]Source
filePart :: String -> StringSource
longest suffix of path that does not contain /
extName :: String -> StringSource
longest suffix of path that does not contain .
baseName :: String -> StringSource
longest prefix so that the rest contains .; entire string if no . present
fileToPath :: String -> [String]Source
splits input at each /
dropLastComponent :: String -> StringSource
drop the last component of a file path
Produced by Haddock version 2.6.0