[commit: packages/array] master: Export unsafeFreezeIOUArray (f7b69e9)

git at git.haskell.org git at git.haskell.org
Mon May 1 16:58:53 UTC 2017


Repository : ssh://git@git.haskell.org/array

On branch  : master
Link       : http://git.haskell.org/packages/array.git/commitdiff/f7b69e9cb914cb69bbede5264729523fb8669db1

>---------------------------------------------------------------

commit f7b69e9cb914cb69bbede5264729523fb8669db1
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon May 1 12:57:25 2017 -0400

    Export unsafeFreezeIOUArray
    
    The fact that this was previously hidden appears to be an oversight and
    I've needed it at least once.


>---------------------------------------------------------------

f7b69e9cb914cb69bbede5264729523fb8669db1
 Data/Array/IO/Internals.hs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Data/Array/IO/Internals.hs b/Data/Array/IO/Internals.hs
index 4f784de..c9738e9 100644
--- a/Data/Array/IO/Internals.hs
+++ b/Data/Array/IO/Internals.hs
@@ -22,6 +22,7 @@ module Data.Array.IO.Internals (
     IOUArray(..),        -- instance of: Eq, Typeable
     castIOUArray,        -- :: IOUArray ix a -> IO (IOUArray ix b)
     unsafeThawIOUArray,
+    unsafeFreezeIOUArray
   ) where
 
 import Data.Int



More information about the ghc-commits mailing list