From ec6f7178dc4e24953c0a7b00708610ce2d44f867 Mon Sep 17 00:00:00 2001 From: Mike Pilgrem Date: Sun, 20 Oct 2024 21:27:36 +0100 Subject: [PATCH] Add explicit imports --- src/Data/StaticBytes.hs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Data/StaticBytes.hs b/src/Data/StaticBytes.hs index 7e92329..304e2b1 100644 --- a/src/Data/StaticBytes.hs +++ b/src/Data/StaticBytes.hs @@ -23,8 +23,8 @@ module Data.StaticBytes , fromStatic ) where -import Data.Bits -import Data.ByteArray +import Data.Bits ( Bits (..) ) +import Data.ByteArray ( ByteArrayAccess (..) ) import qualified Data.ByteString as B import qualified Data.ByteString.Internal as B import qualified Data.Primitive.ByteArray as BA @@ -35,9 +35,9 @@ import qualified Data.Vector.Primitive as VP import qualified Data.Vector.Storable as VS import qualified Data.Vector.Unboxed as VU import qualified Data.Vector.Unboxed.Base as VU -import Foreign.ForeignPtr -import Foreign.Ptr -import Foreign.Storable +import Foreign.ForeignPtr ( ForeignPtr, withForeignPtr ) +import Foreign.Ptr ( Ptr, castPtr ) +import Foreign.Storable ( Storable (..) ) import RIO hiding ( words ) import System.IO.Unsafe ( unsafePerformIO )