
I think this is what you're looking for: http://hackage.haskell.org/package/directory-1.2.0.1/docs/System-Directory.h... Cheers, Tim On Dec 19, 2013, at 4:46 AM, Michael Orlitzky wrote:
I'm writing a small utility whose only non-portable code involves the two paths,
/etc/htsnrc $HOME/.htsnrc
These have sort-of analogues under Windows; in .NET they are available through something like,
Environment.SpecialFolder.CommonApplicationData Environment.SpecialFolder.ApplicationData
I personally will only ever need to run on Linux, but as a matter of principle I'd like to abstract the paths. Is there a library that can do this already? _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe