Feldspar.Core.Functions.Array
Description
Core language array operations
Documentation
arrayLen :: Type a => Data Length -> [a] -> Data [a]
Constructs an array of the given length and initialization.
Arguments
| :: Type a | |
| => Data [a] | Source array |
| -> Data Index | Index to replace |
| -> Data a | New value |
| -> Data [a] |
Array update
class RandomAccess a where
Instances
| Type a => RandomAccess (Data [a]) | |
| Syntactic a => RandomAccess (Vector a) | |
| Syntactic a => RandomAccess (Stream a) |