[Haskell-cafe] Determining application directory

Chris Eidhof chris at eidhof.nl
Wed Jan 27 12:25:51 EST 2010

Hi Matveev,

You might be interested in the System.Directory module:




On 27 jan 2010, at 18:06, Matveev Vladimir wrote:

> Hi,
> I'm writing cross-platform application in Haskell which should be
> running under Windows and Linux. Under Linux configuration is stored
> in the /etc directory, and under Windows configuration is meant to be in
> the application directory. So, is there a way to get an application
> directory path under Windows? I remember that there is a way to do this
> using WinAPI, but how to do this Haskell?
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list