[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

cl-loop's "with" destructuring-bind looks broken

From: Tomohiro Matsuyama
Subject: cl-loop's "with" destructuring-bind looks broken
Date: Sun, 20 Apr 2014 14:36:15 +0900
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (Goj┼Ź) APEL/10.8 EasyPG/1.0.0 Emacs/24.3.90 (x86_64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO)


I have faced an issue on when using my extension that
includes an expression like:

    (cl-loop with (a b c) = '(1 2 3) return (+ a b c))

This expression causes an error:

    Attempt to set a constant symbol: nil

On a stable release, at least 24.3.1, it works fine and evalutes to 6.

ANSI Common Lisp allows such destructuring-bind with "with" clause, by
the way.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]