Changes between Version 5 and Version 6 of ParallelListComp


Ignore:
Timestamp:
Feb 18, 2006 2:05:03 PM (9 years ago)
Author:
ross@…
Comment:

there was a con in there

Legend:

Unmodified
Added
Removed
Modified
  • ParallelListComp

    v5 v6  
    2424 
    2525== Pros == 
    26  * Easy and well-specified 
    27  * Expresses zips of filters, which are tricky to express with standard list comprehensions which are more suited towards filters of zips. 
     26 * Easy and well-specified. 
     27 * Expresses zips of filters, which are tricky to express with standard list comprehensions. 
     28 * Those who use them do so heavily, e.g. there are 142 uses of parallel list comprehensions in the jhc source tree. 
    2829 
    2930== Cons == 
    30  * Not widely used, and not hugely more concise than using explicit zips. (this is disputable, there are 142 uses of parallel list comprehensions in the jhc source tree for instance) 
     31 * Most people do not find them useful, and find the only slightly longer version using explicit zips clearer. 
    3132 * Naive users can trip over them if they misplace a '`|`'. 
     33 * Limited, e.g. cannot express filters of zips, which are more common. 
    3234 * In its more general forms it's hard to predict how the elements from each set of generators and filters will match up, e.g. 
    3335   {{{