) where
+#ifndef __NHC__
import Data.Dynamic
+#endif
-#ifdef __GLASGOW_HASKELL__
import Data.Ix
+
+#ifdef __GLASGOW_HASKELL__
import GHC.Arr -- Most of the hard work is done here
import GHC.Err ( undefined )
#endif
import Hugs.Array
#endif
+#ifdef __NHC__
+import Array -- Haskell'98 arrays
+#endif
+
+#ifndef __NHC__
#include "Dynamic.h"
INSTANCE_TYPEABLE2(Array,arrayTc,"Array")
+#endif