This page is part of the web mail archives of SRFI 71 from before July 7th, 2015. The new archives for SRFI 71 contain all messages, not just those from before July 7th, 2015.
Sebastian Egner <sebastian.egner@xxxxxxxxxxx> wrote at 2005-05-17T10:51:31+0200: > And if you really need the rest-list thing (the day will come), > the meaning will at least be obvious. How about a keyword named "rest", with parens around the keyword and variable identifier? The parens emphasize to human readers that the "rest" name is in a keyword position and therefore should not be mistaken for a variable identifier? (let ( (a b c d (values 1 2 3 4)) ) c) ;=> 3 (let ( (a b (rest x) (values 1 2 3 4)) ) x) ;=> (3 4) (let ( ((rest x) (values 1 2 3 4)) ) x) ;=> (1 2 3 4) (let ( (a b (rest x) (values 1 2 3 4)) ) x) ;=> (3 4) (let ( (a b (rest rest) (values 1 2 3 4)) ) rest) ;=> (3 4) -- http://www.neilvandyke.org/