Merge branch 'new-rule-drop' of github.com:jonase/kibit
This commit is contained in:
commit
234c3152da
2 changed files with 6 additions and 2 deletions
|
@ -17,5 +17,6 @@
|
|||
(< ?x 0) (neg? ?x)
|
||||
|
||||
(= ?x ?x) true
|
||||
(== ?x ?x) true})
|
||||
(== ?x ?x) true
|
||||
(zero? 0) true})
|
||||
|
||||
|
|
|
@ -7,7 +7,10 @@
|
|||
(if (not ?x) ?y ?z) (if-not ?x ?y ?z)
|
||||
(when (not ?x) . ?y) (when-not ?x ?y)
|
||||
(if true ?x ?y) ?x
|
||||
(when true . ?x) (do . ?x)}) ; Maybe this should be (do ?x)
|
||||
(when true . ?x) (do . ?x)
|
||||
(do ?x) ?x
|
||||
(when-not true ?x) "removing this dead code"
|
||||
(when false ?x) "removing this dead code"})
|
||||
|
||||
(comment
|
||||
(when true
|
||||
|
|
Loading…
Reference in a new issue