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 f3e4888 commit 296f296Copy full SHA for 296f296
example/ok.ark
@@ -1,3 +1,2 @@
1
(let a 1)
2
(print a)
3
-
example/bad.ark renamed to example/switch.ark
@@ -14,10 +14,8 @@
14
# =end
15
# @author https://github.com/SuperFola
16
($ switch (value case then ...cases) {
17
- ($if (= "_" ($repr case))
18
- then
19
- (if (= value case)
20
21
- ($if (>= (len cases) 2)
22
- (switch value ...cases))))})
23
+ ($if (= "_" ($repr case))
+ then
+ (if (= value case)
+ ($if (>= (len cases) 2) (switch value ...cases)))) })
0 commit comments