feldspar-language-0.7: A functional embedded language for DSP and parallelism
Feldspar.Core.Collection
Description
General interfaces to collections of data
Synopsis
type family Elem a Source
Collection element type
Instances
type family CollIndex a Source
Collection index type
type family CollSize a Source
Collection size type
class Indexed a where Source
Data structures that support indexing
Methods
(!) :: a -> CollIndex a -> Elem a infixl 9 Source
class Sized a where Source
Sized data structures
collSize :: a -> CollSize a Source
setCollSize :: CollSize a -> a -> a Source
class CollMap a b where Source
Mapping over collections
collMap :: (Elem a -> Elem b) -> a -> b Source