[Haskell-cafe] Re: looking for origin of quote on preprocessors and language design

Henning Thielemann schlepptop at henning-thielemann.de
Thu Jan 14 09:53:51 EST 2010


Maciej Piechotka schrieb:

> 
> Hmm. May I ask how to do for example something depending on POSIX or
> WinAPI? I am sorry but I cannot see how any of the above problems could
> be solved.

Sure, I choose different Hs-Source-Dirs for the different platforms.
Multiple Hs-Source-Dirs are merged.

Example:
   http://hackage.haskell.org/packages/archive/sox/0.1/sox.cabal



More information about the Haskell-Cafe mailing list