[Scheme-reports] When ... is a literal Andre van Tonder (24 Apr 2011 19:53 UTC)
Re: [Scheme-reports] When ... is a literal Alex Shinn (25 Apr 2011 00:02 UTC)

Re: [Scheme-reports] When ... is a literal Alex Shinn 25 Apr 2011 00:01 UTC

On Mon, Apr 25, 2011 at 4:53 AM, Andre van Tonder <andre@het.brown.edu> wrote:
> On page 17 it states:
>
>   If an underscore appears in the literal
>   list, then that takes precedence and underscores in the
>   pattern match as literals.
>
> I think the same should be true if <ellipsis> is in the literals list.

Scroll down a little:

  A subpattern followed by <ellipsis> can match zero
  or more elements of the input, unless <ellipsis> appears
  in the <literal>s in which case it is matched as a literal.

--
Alex

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports