
5 Dec
2010
5 Dec
'10
2:35 a.m.
On Sat, 4 Dec 2010, Mark Lentczner wrote:
I'm not being dense here. I understand the implications of such a choice in a library. But I can easily imagine libraries where the developers will decide to offer slightly different APIs on different platforms, Since we have template haskell and cpp preprocessing available, these scenarios will arise.
Why not putting those things into separate packages like ghc (compiler dependent), unix, alsa (OS dependent), cpuid (processor dependent)? Clean and easy, no need for hacks or complicated Cabal files.