ruricolist / cl-yesql

Common Lisp library for using SQL
67 stars 5 forks source link

ALEXANDRIA:REQUIRED-ARGUMENT in slime hints #14

Closed phoe closed 5 years ago

phoe commented 5 years ago

A CL-YESQL function with keyword arguments produces a syntax hint in slime like this:

Zrzut ekranu z 2019-03-21 22-38-30

The keyword arguments are inflated by slime showing the default values for them, which are calls to alexandria:required-argument.

Is it possible to perform those checks outside the lambda list and instead have them on top of the function body? Both solutions are correct, but the second makes slime suggestions less annoying.

Or should it be somehow fixed/changed on the slime side?

phoe commented 5 years ago

This is now changed to (login (need login)) which is much more readable. Thanks!