On Sat, Dec 25, 2010 at 1:48 AM, Scott McLoughlin <scottmc...@gmail.com> wrote: > Couldn't find docs on this syntax form using regular > docs search. >
I don't know how to find it with search either, but here it is. http://docs.racket-lang.org/reference/reader.html#%28part._parse-pair%29 "If the reader finds three or more data between the matching parentheses, and if a pair of delimited .s surrounds any other than the first and last elements, the result is a list containing the element surrounded by .s as the first element, followed by the others in the read order. This convention supports a kind of infix notation at the reader level." In other words, this syntax isn't specific to contracts. Surrounding anything with dots is the same as placing it to the immediate right of the nearest enclosing left paren. > '(a . b . c) '(b a c) _________________________________________________ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users