-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Determine the full path to an executable. -- -- Determine the full path to an executable, similar to the *nix "which" -- command. @package which @version 0.2 module System.Which -- | Determine which executable would run if the given path were executed, -- or return Nothing if a suitable executable cannot be found which :: FilePath -> IO (Maybe FilePath) -- | Run which at compile time, and substitute the full path to the -- executable. staticWhich :: FilePath -> Q Exp staticWhichNix :: FilePath -> Q Exp