From 08034c6b20c7ec0b7a1c1324f41cfd2997237b71 Mon Sep 17 00:00:00 2001 From: Andrea Bedini Date: Thu, 20 Jun 2024 22:56:46 +0800 Subject: [PATCH] Remove abandoned module Cabal-syntax/src/Distribution/Compat/Typeable.hs --- .../src/Distribution/Compat/Typeable.hs | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 Cabal-syntax/src/Distribution/Compat/Typeable.hs diff --git a/Cabal-syntax/src/Distribution/Compat/Typeable.hs b/Cabal-syntax/src/Distribution/Compat/Typeable.hs deleted file mode 100644 index 161f868a823..00000000000 --- a/Cabal-syntax/src/Distribution/Compat/Typeable.hs +++ /dev/null @@ -1,19 +0,0 @@ -{-# LANGUAGE CPP #-} -{-# LANGUAGE ScopedTypeVariables #-} - -module Distribution.Compat.Typeable - ( Typeable - , TypeRep - , typeRep - ) where - -#if MIN_VERSION_base(4,7,0) -import Data.Typeable (Typeable, TypeRep, typeRep) -#else -import Data.Typeable (Typeable, TypeRep, typeOf) -#endif - -#if !MIN_VERSION_base(4,7,0) -typeRep :: forall a proxy. Typeable a => proxy a -> TypeRep -typeRep _ = typeOf (undefined :: a) -#endif