I guess boxed types are too risky for efficiency reasons in some parts
of the code (close examination of -ddump-simpl would be needed I guess),
so I'll expand utils/FastTypes and put all the #ifdefs in there.
Unboxed tuples that are used in little areas of GHC code solely for the
efficiency of not containing _|_ nor polymorphism are a nuisance
syntactically. Can I
#ifdef __GLASGOW_HASKELL__
#define UT #
#else
#defined UT
#endif
and use (UT x, y UT)
?
Or will I have to
#define UTopen (#
#defined UTclose #)
and (UTopen x, y UTclose)
... does that seem fairly reasonable?
Isaac
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc