repa-series-1.0.0.1: Series Expressionss API

Safe HaskellNone

Data.Array.Repa.Series.Ref

Synopsis

Documentation

data Ref a Source

Mutable references.

Constructors

Ref !(IOVector a) 

new :: Unbox a => a -> IO (Ref a)Source

Create a new unboxed reference.

read :: Unbox a => Ref a -> IO aSource

Read from an unboxed reference.

write :: Unbox a => Ref a -> a -> IO ()Source

Write to an unboxed reference.