hmt-0.16: Haskell Music Theory

Safe HaskellSafe
LanguageHaskell98

Music.Theory.Directory

Description

Directory functions.

Synopsis

Documentation

path_scan :: [FilePath] -> FilePath -> IO (Maybe FilePath) Source #

Scan a list of directories until a file is located, or not.

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"