Please sign in to comment.
Simplify use of when and equality checks
Currently, there are a number of cases that use (when ...) but then use nil as the truth statement. Instead, these can be considerably simplified by using (when-not ...) for the singular case. This also includes readability changes to use (inc ...) and (zero? ...).
- Loading branch information...
Showing with 9 additions and 10 deletions.