
13 Jul
2004
13 Jul
'04
3:41 p.m.
Ross Paterson
On Tue, Jul 13, 2004 at 12:02:13PM +0100, Adrian Hey wrote:
I've just modified some Haskell code from the AVL library to explicitly use ghc unboxed Ints in some routines.
Unfortunately, I've broken portability by doing this and was considering some cpp magic to restore portability. But IIRC, the use of cpp is discouraged for Haskell library infrastructure.
Is that so? If so, what should I use instead?
The initial version of the infrastructure may not support cpp, but it should appear later.
FWIW, I think it'll be one of the first things we do after the 0.1 release. Should be very easy with hscpp. peace, isaac