diff --git a/Data/Loc.hs b/Data/Loc.hs
--- a/Data/Loc.hs
+++ b/Data/Loc.hs
@@ -40,7 +40,8 @@
   ) where
 
 #ifdef __GLASGOW_HASKELL__
-import Data.Generics (Data(..),Typeable(..))
+import Data.Data (Data(..))
+import Data.Typeable (Typeable(..))
 #endif
 import Data.List (foldl')
 import Data.Monoid (Monoid(..))
@@ -140,6 +141,9 @@
 
 instance Ord SrcLoc where
     compare _ _ = EQ
+
+instance Show SrcLoc where
+    showsPrec _ _ = id
 
 -- | The 'SrcLoc' of a 'Located' value.
 srclocOf :: Located a => a -> SrcLoc
diff --git a/srcloc.cabal b/srcloc.cabal
--- a/srcloc.cabal
+++ b/srcloc.cabal
@@ -1,5 +1,5 @@
 name:           srcloc
-version:        0.3.0
+version:        0.4.0
 cabal-version:  >= 1.6
 license:        BSD3
 license-file:   LICENSE
@@ -20,8 +20,7 @@
     Data.Loc
 
   build-depends:
-    base >= 4   && < 5,
-    syb  >= 0.1 && < 0.4
+    base >= 4 && < 5
 
 source-repository head
   type:     git
