Import Data.Data for Data/Typeable instances if using GHC 6.10 or above (base package reorganisation)
commit165abb70659f2b7aef401f7869b8fe99deeea8df
authorNeil Mitchell <unknown>
dateMon 30 Mar 2009, 13:12 (18 years ago)
parent3cbe6ad
Data/UUID/Internal.hs+5
@@ -29,7 +29,12 @@ import Data.Bits
2929import Data.List (splitAt, foldl', unfoldr)
3030
3131import Data.Typeable
32+
33+#if __GLASGOW_HASKELL__ >= 610
34+import Data.Data
35+#else
3236import Data.Generics.Basics
37+#endif
3338
3439import Foreign.Ptr
3540import Foreign.Storable