mirror of
https://github.com/carp-lang/Carp.git
synced 2024-11-04 01:25:04 +03:00
Remove bad example.
This commit is contained in:
parent
4dd24d78e3
commit
ed071835d1
@ -2,9 +2,3 @@
|
||||
(let-do [xs $[1 2 3 4 5]]
|
||||
(StaticArray.map! xs &(fn [x] (* @x 2)))
|
||||
(println* (StaticArray.reduce &(fn [total x] (+ total @x)) 0 xs))))
|
||||
|
||||
(defn f []
|
||||
(let [nested $[[1 2 3]
|
||||
[4 5 6]
|
||||
[7 8 9]]]
|
||||
@(StaticArray.unsafe-nth nested 1)))
|
||||
|
Loading…
Reference in New Issue
Block a user