RSS/Atom feed Twitter
Site is read-only, email is disabled

car and cdr

This discussion is connected to the gimp-developer-list.gnome.org mailing list which is provided by the GIMP developers and not related to gimpusers.com.

This is a read-only list on gimpusers.com so this discussion thread is read-only, too.

2 of 2 messages available
Toggle history

Please log in to manage your subscriptions.

car and cdr Alexey V.Chaykin 03 Jun 10:27
  car and cdr Helvetix Victorinox 03 Jun 18:06
Alexey V.Chaykin
2003-06-03 10:27:18 UTC (almost 21 years ago)

car and cdr

Command with more than 3 'd' or 'a' subcommand not work.

=>(cdddr '(1 2 3 4 5 6 7 8 9 10 11 12 13)) (4 5 6 7 8 9 10 11 12 13)

=>(cddddr '(1 2 3 4 5 6 7 8 9 10 11 12 13)) ERROR: unbound variable (errobj cddddr)

--- gimp 1.2.3

Helvetix Victorinox
2003-06-03 18:06:09 UTC (almost 21 years ago)

car and cdr

It is not clear from your message if you are reporting a widely known fact, or trying to report a bug. To report bugs, go to http://bugzilla.gnome.org/ so the bugs can be tracked.

But since the topic is Lisp, I will jump in.

In either case, all shorthand forms of car and cdr are convenience functions for which you can extend all that you want. Generally the predefined ones do indeed stop at about 3.

Helvetix

On Tue, Jun 03, 2003 at 12:27:18PM +0400, Alexey V.Chaykin wrote:

Command with more than 3 'd' or 'a' subcommand not work.

=>(cdddr '(1 2 3 4 5 6 7 8 9 10 11 12 13)) (4 5 6 7 8 9 10 11 12 13)

=>(cddddr '(1 2 3 4 5 6 7 8 9 10 11 12 13)) ERROR: unbound variable (errobj cddddr)

--- gimp 1.2.3