Rust switches to external iteration

Russel Winder russel at winder.org.uk
Fri Jul 5 02:45:35 PDT 2013


On Thu, 2013-07-04 at 20:27 +0200, bearophile wrote:
[…]
> Yet in Python they are used everywhere. I define input ranges 
> often in D and I think they are useful.
> 
> Having a built-in "yield" in a language is quite handy. Take a 
> look at the Python and the second D solutions here:
> http://rosettacode.org/wiki/Same_Fringe

cf. Scala which has for comprehensions and a yield. It is used a lot.

Assuming yield means the same thing in all these emails!
-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.winder at ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: russel at winder.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20130705/93bd2688/attachment.pgp>


More information about the Digitalmars-d mailing list