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.
2 parents a08c4b0 + 2eefc13 commit 56f2acdCopy full SHA for 56f2acd
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