hmt-0.16: Haskell Music Theory
Music.Theory.Directory
Description
Directory functions.
Synopsis
path_scan :: [FilePath] -> FilePath -> IO (Maybe FilePath) Source #
Scan a list of directories until a file is located, or not.
path_scan_err :: [FilePath] -> FilePath -> IO FilePath Source #
dir_subset :: [String] -> FilePath -> IO [FilePath] Source #
Subset of files in dir with an extension in ext.
to_absolute_cwd :: FilePath -> IO FilePath Source #
If path is not absolute, prepend current working directory.
to_absolute_cwd "x"