Liste des Groupes | Revenir à l misc |
On 2024-08-06, Lawrence D'Oliveiro <ldo@nz.invalid> wrote:>Equivalent Lisp, for comparison:>
(setf a (cond (b (if c d e))
(f (if g h i))
(t j)))
You can’t avoid the parentheses, but this, too, can be improved:
>
(setf a
(cond
(b
(if c d e)
)
(f
(if g h i)
)
(t
j
)
) ; cond
)
Nobody is ever going to follow your idio(syncra)tic coding preferences
for Lisp, that wouldn't pass code review in any Lisp shop, and result in
patches being rejected in a FOSS setting.
Les messages affichés proviennent d'usenet.