From 20ed039d59c3a04c86c8cc878169e6f6b5729283 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 10 Feb 2025 12:33:21 -0400 Subject: [PATCH] don't export pack and unpack These are too widly used for other things to make sense to export OsPath versions of them. And OsString also provides them and gets imported qualified when needed. --- Utility/OsPath.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utility/OsPath.hs b/Utility/OsPath.hs index e751db5f0b..fb4e23dca5 100644 --- a/Utility/OsPath.hs +++ b/Utility/OsPath.hs @@ -28,7 +28,7 @@ import Data.ByteString.Short (ShortByteString) import qualified Data.ByteString.Short as S import qualified Data.ByteString.Lazy as L #ifdef WITH_OSPATH -import System.OsPath as X hiding (OsPath, OsString, unsafeFromChar) +import System.OsPath as X hiding (OsPath, OsString, pack, unpack, unsafeFromChar) import System.OsPath import "os-string" System.OsString.Internal.Types import qualified System.FilePath.ByteString as PB