Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
findDataFile :: VPUI -> FilePath -> IO (Maybe FilePath) Source
Try to find the original of a datafile that is part of the sifflet library. These are usually files like sifflet.scm or sifflet.py that provide Sifflet support for the target language when exporting. First try the directory where Cabal would have installed data files. This may fail if Sifflet has been installed (or portably installed) on Windows into a non-standard location; in that case, also try the directory from which sifflet.exe was launched.