Bruce D'Arcus scripsit:
> Nevermind. This ...
> 
> >        list { cs-types }
> 
> ... should be:
> 
>        list { (cs-types)+ }

That's a very common mistake.  The advantage of requiring the explicit
+, so that list { ... } only fragments without also iterating, is that
other kinds of patterns such as "exactly three tokens" can be given.

-- 
John Cowan        http://ccil.org/~cowan   [EMAIL PROTECTED]
Lope de Vega: "It wonders me I can speak at all.  Some caitiff rogue did
rudely yerk me on the knob, wherefrom my wits still wander."
An Englishman: "Ay, a filchman to the nab betimes 'll leave a man
crank for a spell." --Harry Turtledove, Ruled Britannia

Reply via email to