git.iko.soy/distributed-process
on master help sign in
Fix typeable for ghc-7.8.
commitf7c456d1e9a046d36c732809bd10f32111022d1b authorAlexander Vershilov <alexander.vershilov@gmail.com> dateFri 16 May 2014, 12:56 (12 years ago) parentbd8ca10
1 file changed+5−4
src/Control/Distributed/Process/Serializable.hs+5−4
src/Control/Distributed/Process/Serializable.hs+5−4
@@ -15,12 +15,13 @@ module Control.Distributed.Process.Serializable
1515 ) where
1616
1717import Data.Binary (Binary)
18−import Data.Typeable (Typeable(..))
1918
20−#if MIN_VERSION_base(4,6,0)
21−import Data.Typeable.Internal (TypeRep(TypeRep))
22−#else
19+#if MIN_VERSION_base(4,7,0)
20+import Data.Typeable (Typeable)
2321import Data.Typeable.Internal (TypeRep(TypeRep), typeOf)
22+#else
23+import Data.Typeable (Typeable(..))
24+import Data.Typeable.Internal (TypeRep(TypeRep))
2425#endif
2526
2627import Numeric (showHex)