Skip to content

Commit 67d7627

Browse files
authored
Update accumulate.janet
1 parent 1fccf0f commit 67d7627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/accumulate.janet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(reduce + 0 [1 2 3 4]) #-> 10
1+
(reduce + 0 [1 2 3 4]) # -> 10
22
(accumulate + 0 [1 2 3 4]) # -> @[1 3 6 10]
33

44
(reduce + 0 []) # -> 0

0 commit comments

Comments
 (0)