Add tasks for all the new languages
This commit is contained in:
parent
9dc3c2bb62
commit
bba7bfd280
13208 changed files with 134745 additions and 0 deletions
7
Task/Loops-For/Futhark/loops-for.futhark
Normal file
7
Task/Loops-For/Futhark/loops-for.futhark
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
fun main(n: int): [n]int =
|
||||
loop (a = replicate n 0) = for i < n do
|
||||
(loop (s = 0) = for j < i+1 do
|
||||
s + j
|
||||
let a[i] = s
|
||||
in a)
|
||||
in a
|
||||
Loading…
Add table
Add a link
Reference in a new issue