repa-array-4.2.3.1: Bulk array representations and operators.

Safe HaskellSafe
LanguageHaskell98

Data.Repa.Fusion.Unpack

Synopsis

Documentation

class Unpack a t | a -> t where Source #

Unpack the pieces of a structure into a tuple.

This is used in a low-level fusion optimisation to ensure that intermediate values are unboxed.

Minimal complete definition

unpack, repack

Methods

unpack :: a -> t Source #

repack :: a -> t -> a Source #