diff --git a/CHANGELOG.markdown b/CHANGELOG.markdown
--- a/CHANGELOG.markdown
+++ b/CHANGELOG.markdown
@@ -1,3 +1,7 @@
+0.9.5 [2023.08.08]
+------------------
+* Remove a use of the partial `tail` function within `intern`.
+
 0.9.4 [2021.02.17]
 ------------------
 * Export `identity` from `Data.Interned.IntSet`.
diff --git a/Data/Interned/IntSet.hs b/Data/Interned/IntSet.hs
--- a/Data/Interned/IntSet.hs
+++ b/Data/Interned/IntSet.hs
@@ -817,8 +817,8 @@
 showsBars :: [String] -> ShowS
 showsBars bars
   = case bars of
-      [] -> id
-      _  -> showString (concat (reverse (tail bars))) . showString node
+      []      -> id
+      _:bars' -> showString (concat (reverse bars')) . showString node
 
 node :: String
 node           = "+--"
diff --git a/Data/Interned/Internal/ByteString.hs b/Data/Interned/Internal/ByteString.hs
--- a/Data/Interned/Internal/ByteString.hs
+++ b/Data/Interned/Internal/ByteString.hs
@@ -5,8 +5,8 @@
 
 import Data.String
 import Data.Interned
-import Data.ByteString
-import Data.ByteString.Char8 as Char8
+import Data.ByteString (ByteString)
+import qualified Data.ByteString.Char8 as Char8
 import Data.Hashable
 
 data InternedByteString = InternedByteString
diff --git a/Data/Interned/Internal/Text.hs b/Data/Interned/Internal/Text.hs
--- a/Data/Interned/Internal/Text.hs
+++ b/Data/Interned/Internal/Text.hs
@@ -5,7 +5,8 @@
 
 import Data.String
 import Data.Interned
-import Data.Text
+import qualified Data.Text as T
+import Data.Text (Text)
 import Data.Hashable
 
 data InternedText = InternedText
@@ -14,7 +15,7 @@
   }
 
 instance IsString InternedText where
-  fromString = intern . pack
+  fromString = intern . T.pack
 
 instance Eq InternedText where
   InternedText i _ == InternedText j _ = i == j
diff --git a/intern.cabal b/intern.cabal
--- a/intern.cabal
+++ b/intern.cabal
@@ -1,6 +1,6 @@
 name:          intern
 category:      Data, Data Structures
-version:       0.9.4
+version:       0.9.5
 license:       BSD3
 cabal-version: >= 1.10
 license-file:  LICENSE
@@ -21,8 +21,12 @@
              , GHC == 8.2.2
              , GHC == 8.4.4
              , GHC == 8.6.5
-             , GHC == 8.8.3
-             , GHC == 8.10.1
+             , GHC == 8.8.4
+             , GHC == 8.10.7
+             , GHC == 9.0.2
+             , GHC == 9.2.7
+             , GHC == 9.4.5
+             , GHC == 9.6.2
 synopsis:      Efficient hash-consing for arbitrary data types
 description:   Efficient hash-consing for arbitrary data types.
 
@@ -35,9 +39,9 @@
 library
   build-depends:
     base                 >= 4     && < 5,
-    bytestring           >= 0.9   && < 0.12,
-    text                 >= 0.11  && < 1.3,
-    hashable             >= 1.1   && < 1.4,
+    bytestring           >= 0.9   && < 0.13,
+    text                 >= 0.11  && < 2.1,
+    hashable             >= 1.1   && < 1.5,
     unordered-containers >= 0.2.1 && < 0.3,
     array                >= 0.3   && < 0.6
 
