{-# LANGUAGE FlexibleContexts #-}
module Simulation.Aivika.Trans.Array
(newIOArray_,
newIOUArray_) where
import Data.Array.IO.Safe
import Data.Array.MArray.Safe
newIOArray_ :: Ix i => (i, i) -> IO (IOArray i e)
newIOArray_ :: (i, i) -> IO (IOArray i e)
newIOArray_ = (i, i) -> IO (IOArray i e)
forall (a :: * -> * -> *) e (m :: * -> *) i.
(MArray a e m, Ix i) =>
(i, i) -> m (a i e)
newArray_
newIOUArray_ :: (Ix i, MArray IOUArray e IO) => (i, i) -> IO (IOUArray i e)
newIOUArray_ :: (i, i) -> IO (IOUArray i e)
newIOUArray_ = (i, i) -> IO (IOUArray i e)
forall (a :: * -> * -> *) e (m :: * -> *) i.
(MArray a e m, Ix i) =>
(i, i) -> m (a i e)
newArray_