You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My understanding is that when conditionals are nested in the loop macro expression, :else corresponds to the last conditional (:if or :when). If this is the case, the indentation level of :else should be the same as that of the last conditional. For example. I expect sometin like:
(let ((str "a2c4d3e5"))
(print
(loop :for x across str
:when (digit-char-p x)
:if (= (rem (digit-char-p x) 3) 0)
:collect x
:else
:collect #\z)))
But what I actualy get under SLIME 2.27 is:
(let ((str "a2c4d3e5"))
(print
(loop :for x across str
:when (digit-char-p x)
:if (= (rem (digit-char-p x) 3) 0)
:collect x
:else
:collect #\z)))
That is, :end is aligned with the outer conditional. It would be wonderful if you could fix this behavior.
The text was updated successfully, but these errors were encountered:
My understanding is that when conditionals are nested in the loop macro expression, :else corresponds to the last conditional (:if or :when). If this is the case, the indentation level of :else should be the same as that of the last conditional. For example. I expect sometin like:
But what I actualy get under SLIME 2.27 is:
That is, :end is aligned with the outer conditional. It would be wonderful if you could fix this behavior.
The text was updated successfully, but these errors were encountered: