We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e63d685 commit 2eefc13Copy full SHA for 2eefc13
examples/-.janet
@@ -1,7 +1,7 @@
1
(-) # -> 0
2
(- 10) # -> -10
3
(- 1 2) # -> -1
4
-(+ 1.4 -4.5) # -> 5.9
+(- 1.4 -4.5) # -> 5.9
5
6
# Equivalent to (- first (+ ;rest))
7
(- 1 2 3 4 5 6 7 8 9 10) # -> -53
0 commit comments