[asdf-devel] Slight unportability in %DEFINE-COMPONENT-INLINE-METHODS

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Sat Sep 5 21:49:58 UTC 2009


On Sat, Sep 5, 2009 at 7:37 PM, Tobias C. Rittweiler<tcr at freebits.de> wrote:
>
> %DEFINE-COMPONENT-INLINE-METHODS contains the following LOOP form:
>
> (loop for data = rest then (cddr data)
>      while data
>      for key = (first data)
>      for value = (second data)
>      ...)
>
> However, if you look at LOOP's BNF in the specification, you'll see that
> termination clauses *must* appear after :for clauses.
>
> CLISP rightfully signals a warning.

And ECL signals an error.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com




More information about the asdf-devel mailing list