Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
1
Task/Arrays/Futhark/arrays-1.futhark
Normal file
1
Task/Arrays/Futhark/arrays-1.futhark
Normal file
|
|
@ -0,0 +1 @@
|
|||
[1, 2, 3]
|
||||
2
Task/Arrays/Futhark/arrays-2.futhark
Normal file
2
Task/Arrays/Futhark/arrays-2.futhark
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
replicate 5 3 == [3,3,3,3,3]
|
||||
iota 5 = [0,1,2,3,4]
|
||||
3
Task/Arrays/Futhark/arrays-3.futhark
Normal file
3
Task/Arrays/Futhark/arrays-3.futhark
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
fun update(as: *[]int, i: int, x: int): []int =
|
||||
let as[i] = x
|
||||
in x
|
||||
Loading…
Add table
Add a link
Reference in a new issue