on master help sign in
stop using functionality deprecated in GHC 6.12
commit2ca3a37e30b1ec7e78bbcc3c2432cfb3e8eb1f67 authoraslatter <aslatter@gmail.com> dateMon 28 Dec 2009, 03:31 (17 years ago) parentd213fdf
1 file changed+5−3
Data/UUID/Internal.hs+5−3
Data/UUID/Internal.hs+5−3
@@ -246,10 +246,12 @@ instance Data UUID where
246246 gunfold _ _ = error "gunfold"
247247 dataTypeOf _ = uuidType
248248
249−uuidType = mkNorepType "Data.UUID.UUID"
250−
251−
249+uuidType = mkNoRepType "Data.UUID.UUID"
252250
251+#if !(MIN_VERSION_base(4,2,0))
252+mkNoRepType :: String -> DataType
253+mkNoRepType = mkNorepType
254+#endif
253255
254256-- |If the passed in 'String' can be parsed as a 'UUID', it will be.
255257-- The hyphens may not be omitted.