[Haskell-cafe] Abstracting configuration directories

Tim C. Schroeder tim at blitzcode.net
Thu Dec 19 06:40:02 UTC 2013

I think this is what you're looking for:



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 at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

More information about the Haskell-Cafe mailing list