From 832ed3c1559a65a65b688c1e1adf0874ab8907de Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Tue, 8 Aug 2006 10:07:08 +0000 Subject: [PATCH] deprecate this module. --- Data/PackedString.hs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Data/PackedString.hs b/Data/PackedString.hs index 46fb4ba..1160d34 100644 --- a/Data/PackedString.hs +++ b/Data/PackedString.hs @@ -8,14 +8,20 @@ -- Stability : experimental -- Portability : portable -- --- An efficient implementation of strings. +-- This API is deprecated. You might be able to use "Data.ByteString" +-- or "Data.ByteString.Char8", provided you don't need full Unicode support. +-- The long term aim is to provide a Unicode layer on "Data.ByteString", +-- and then to provide a replacement for this "Data.PackedString" API based on +-- that. -- ----------------------------------------------------------------------------- -- Original GHC implementation by Bryan O\'Sullivan, -- rewritten to use UArray by Simon Marlow. -module Data.PackedString ( +module Data.PackedString + {-# DEPRECATED "use Data.ByteString, Data.ByteString.Char8, or plain String." #-} + ( -- * The @PackedString@ type PackedString, -- abstract, instances: Eq, Ord, Show, Typeable -- 1.7.10.4