D's equivalent List Comprehension

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Fri Dec 13 15:20:02 UTC 2019


I had mentioned my take on list comprehension here:

https://forum.dlang.org/post/qslt0q$2dnb$1@digitalmars.com#post-ycbohbqaygrgmidyhjma:40forum.dlang.org

However someone put together a more comprehensive tutorial of its 
power. So I took the opportunity to demonstrate the parallel in D.

https://dev.to/jessekphillips/list-comprehension-in-d-4hpi

D is like writing English. Wait I thought that was supposed to be 
Python, maybe I am thinking ruby.


More information about the Digitalmars-d-learn mailing list