{-# 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_ :: forall i e. Ix i => (i, i) -> IO (IOArray i e)
newIOArray_ = 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_ :: forall i e.
(Ix i, MArray IOUArray e IO) =>
(i, i) -> IO (IOUArray i e)
newIOUArray_ = forall (a :: * -> * -> *) e (m :: * -> *) i.
(MArray a e m, Ix i) =>
(i, i) -> m (a i e)
newArray_