quicklisp-client icon indicating copy to clipboard operation
quicklisp-client copied to clipboard

Fix various stylistic issues

Open kilianmh opened this issue 3 years ago • 2 comments

Most of these changes are stylistic (improvements). Exceptions are:

Inspired by lisp-critic/40ants-critic.

kilianmh avatar Jul 17 '22 17:07 kilianmh

If x may be NIL or a number, (eql x 42) is perfectly fine.

On Sun, Jul 17, 2022 at 1:20 PM Kilian M. Haemmerle < @.***> wrote:

Most of these changes are stylistic (improvements). Exceptions are:

Inspired by lisp-critic https://github.com/g000001/lisp-critic/ 40ants-critic https://github.com/40ants/40ants-critic.

You can view, comment on, or merge this pull request online at:

https://github.com/quicklisp/quicklisp-client/pull/218 Commit Summary

File Changes

(7 files https://github.com/quicklisp/quicklisp-client/pull/218/files)

Patch Links:

  • https://github.com/quicklisp/quicklisp-client/pull/218.patch
  • https://github.com/quicklisp/quicklisp-client/pull/218.diff

— Reply to this email directly, view it on GitHub https://github.com/quicklisp/quicklisp-client/pull/218, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACPNLP3RTCB7C3WP7AT2ILVUQ6FXANCNFSM532BZIPQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>

quicklisp avatar Jul 20 '22 19:07 quicklisp

If x may be NIL or a number, (eql x 42) is perfectly fine.

Indeed, that is correct! Now the case when the object might be NIL is EQL again.

If there's anything else stopping you to merge this, just let me know.

PS: Will try to put this exemption-case in the lisp-critic rule-description.

kilianmh avatar Jul 21 '22 20:07 kilianmh