[Haskell] Locate the directory of original program
Haskell Shell
Pull request Compare This branch is 1 commit ahead, 3 commits behind audreyt:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
src/System/Environment
tests
FindBin.cabal
LICENSE
README
Setup.lhs

README

This module locates the full directory to the running program,
to allow the use of paths relative to it.

FindBin supports invocation of Haskell programs via "ghci",
via "runhaskell/runghc", as well as compiled as an executable.