From e8d1b470bc7b17408938991f37cecf14f79a55ee Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Fri, 23 Jan 2026 00:27:27 +0800 Subject: [PATCH] Fix typo, retured -> returned Found via `codespell -H` --- Data/Array/Storable/Internals.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Data/Array/Storable/Internals.hs b/Data/Array/Storable/Internals.hs index 40403b5..5c870de 100644 --- a/Data/Array/Storable/Internals.hs +++ b/Data/Array/Storable/Internals.hs @@ -72,7 +72,7 @@ instance Storable e => MArray StorableArray e IO where -- |The pointer to the array contents is obtained by 'withStorableArray'. -- The idea is similar to 'ForeignPtr' (used internally here). -- The pointer should be used only during execution of the 'IO' action --- retured by the function passed as argument to 'withStorableArray'. +-- returned by the function passed as argument to 'withStorableArray'. withStorableArray :: StorableArray i e -> (Ptr e -> IO a) -> IO a withStorableArray (StorableArray _ _ _ fp) f = withForeignPtr fp f