WashNGo-2.12: WASH is a family of embedded domain specific languages (EDSL) for programming Web applications in Haskell.ContentsIndex
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]
filePart :: String -> String
longest suffix of path that does not contain /
extName :: String -> String
longest suffix of path that does not contain '.'
baseName :: String -> String
longest prefix so that the rest contains '.'; entire string if no '.' present
fileToPath :: String -> [String]
splits input at each /
dropLastComponent :: String -> String
drop the last component of a file path
Produced by Haddock version 0.8