aivika-3.1: A multi-paradigm simulation library

CopyrightCopyright (c) 2009-2015, David Sorokin <david.sorokin@gmail.com>
LicenseBSD3
MaintainerDavid Sorokin <david.sorokin@gmail.com>
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Simulation.Aivika.Unboxed

Description

Tested with: GHC 7.8.3

The Unboxed class allows creating unboxed arrays in monad IO.

Synopsis

Documentation

class MArray IOUArray e IO => Unboxed e where Source

The type which values can be contained in an unboxed array.

Minimal complete definition

Nothing

Methods

newUnboxedArray_ :: Ix i => (i, i) -> IO (IOUArray i e) Source

Create an unboxed array with default values.