> For reference, Jonathan seems to have been inspired to (7) > by the last paragraph of the intro to section 7.13 (Draft4). > This is the section entitled "Array manipulation methods". You ascribe much more inspiration than actually struck :-) In fact, I'm embarrassed to say that I'd overlooked the ability to rename the iterator argument for array methods. Perhaps there was a lingering folk-memory of it.... But it's pretty good post-hoc justification - and a nice precedent for the syntactic form. > Also, after reviewing 7.13, I'm not sure what minor conflict > you see in the array usage of with expressions, Jonathan. > Can you please elaborate a bit, maybe with a small example? My oversight again. Having forgotten about the ability to name the iterator, I was worrying that "item" might hide some local variable of interest. Even if you can't rename "item", it's not a big deal because it's only a *local* name that could be hidden, and local names are easy to change as you write the code. > It's a bit jarring to see one form of the syntax use { } > and the other use ( ). Comments? The temporary name goes in parens in both cases; it's the two different flavours of "with" that are at odds. I guess we can live with the difference, especially since the paragraph immediately after Syntax box 7-5 (top of page 140 in draft 4) explicitly points it out. -- Jonathan Bromley, Consultant DOULOS - Developing Design Know-how VHDL * Verilog * SystemC * e * Perl * Tcl/Tk * Project Services Doulos Ltd. Church Hatch, 22 Market Place, Ringwood, Hampshire, BH24 1AW, UK Tel: +44 (0)1425 471223 Email: jonathan.bromley@doulos.com Fax: +44 (0)1425 471573 Web: http://www.doulos.com The contents of this message may contain personal views which are not the views of Doulos Ltd., unless specifically stated. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.Received on Tue Oct 23 07:48:41 2007
This archive was generated by hypermail 2.1.8 : Tue Oct 23 2007 - 07:48:48 PDT