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
|
|
@ -0,0 +1,11 @@
|
|||
(vector-map sqrt #(0 4 16 49))
|
||||
→ #( 0 2 4 7)
|
||||
;; or
|
||||
(map exp #(0 1 2))
|
||||
→ #( 1 2.718281828459045 7.38905609893065)
|
||||
;; or
|
||||
(for/vector ([elem #(2 3 4)] [i (in-naturals)]) (printf "v[%d] = %a" i elem) (* elem elem))
|
||||
v[0] = 2
|
||||
v[1] = 3
|
||||
v[2] = 4
|
||||
→ #( 4 9 16)
|
||||
Loading…
Add table
Add a link
Reference in a new issue