ross 2002/09/20 06:15:07 PDT
Modified files:
libraries/base/Data/Array Base.hs IArray.hs IO.hs MArray.hs
Log:
Make Data.Array.Base more portable (no semantic changes, I hope) by
* replacing neat pattern guards with clunky case's
* putting #ifdef __GLASGOW_HASKELL__ around the unboxed stuff
* aliasing GHC.Arr
Note that the reliance on RULES for specialization of general definitions,
rather than a class for e.g. the unsafe freeze/thaw things, means that
other implementations can't specialize them with efficient versions.
Revision Changes Path
1.13 +67 -41 fptools/libraries/base/Data/Array/Base.hs
1.9 +0 -4 fptools/libraries/base/Data/Array/IArray.hs
1.13 +21 -9 fptools/libraries/base/Data/Array/IO.hs
1.8 +0 -4 fptools/libraries/base/Data/Array/MArray.hs
_______________________________________________
Cvs-libraries mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-libraries