[cl-gd-devel] Re: CL-GD very minor typo

Edi Weitz edi at agharta.de
Sun Mar 20 21:11:07 UTC 2005


Hi!

On Sun, 20 Mar 2005 21:39:57 +0100, Peter BARABAS <z0d at artifact.hu> wrote:

> I'd like to report a simple typo in the latest CL-GD. It's in
> images.lisp:
>
> (defmacro with-image* ((width height &optional true-color) &body body)
>   "Creates an image with size WIDTH x HEIGHT and executes BODY with
> the image bound to *DEFAULT-IMAGE*. If TRUE-COLOR is true, creates a
> true color image. The image is guaranteed to be destroyed before this
> macro exits."
>   `(with-image (*default-image* ,width, height ,true-color)
>     , at body))
>
> Note the placement of the comma before "height".

Thanks.  That's certainly a typo and will be fixed in the next
release.

> I know that the Lisp implementations are permissive (or the
> HyperSpec?).

I'm pretty sure this is legal Common Lisp although it was not what I
intended... :)

Cheers,
Edi.



More information about the Cl-gd-devel mailing list