Any guide to stream (string) processing in D? | Re: Any python-like generator patterns in D?

Samuel Lampa samuel.lampa at gmail.com
Thu Feb 21 09:25:01 PST 2013


02/21/2013 05:19 PM, jerro wrote:
> D has a concept of [ranges], which are similar to python's iterators, 
> but more general (python iterators are roughly equivalent to input 
> ranges). There are no generator functions in D, but you can use fibers 
> to get similar functionality ...<snip>

Right, will dig into the ranges then! :) Thanks for the hints!

// Samuel


More information about the Digitalmars-d-learn mailing list