Balazs,  thanks!
It's great that these packages exist!


On Thu, Dec 1, 2011 at 11:17 PM, Balazs Komuves <bkomuves@gmail.com> wrote:

Hello,

I'm not subscribed to haskell cafe, but I browse the archives sometimes.

As Simon Hengel wrote there, there are two packages on Hackage
trying to solve this exact problem (since GHC and the standard library
does not provide the necessary information):

http://hackage.haskell.org/package/executable-path
http://hackage.haskell.org/package/FindBin

(Hackage is down at the moment, so I'm not completely sure about the second link).
I'm the author of the first one.

Balazs