Changes between Version 7 and Version 8 of ParallelListComp


Ignore:
Timestamp:
Mar 27, 2008 9:39:21 PM (6 years ago)
Author:
simonmar@…
Comment:

elaborate the point about comprehensive comprehensions, and add point about monad comprehensions

Legend:

Unmodified
Added
Removed
Modified
  • ParallelListComp

    v7 v8  
    3030== Cons == 
    3131 * Some people do not find them useful, and find the only slightly longer version using explicit zip clearer. 
     32 * If we went back to monad comprehensions at some point, parallel comprehensions would not make sense. 
    3233 * One more concept to learn (and implement), with relatively low payoff. 
    3334 * Cannot express filters of zips.  If you want to filter the list returned by a parallel list comprehension, you 
    3435   have to go back to using the zip form, or separately filter the result. 
    3536 * Might cause confusing errors if an extra ''|'' is typed by accident. 
    36  * GHC has a more general mechanism in the form of [http://research.microsoft.com/%7Esimonpj/papers/list-comp/index.htm Comprehensive Comprehensions] 
     37 * GHC has a more general mechanism in the form of Comprehensive Comprehensions ([http://research.microsoft.com/%7Esimonpj/papers/list-comp/index.htm paper], [http://hackage.haskell.org/trac/ghc/wiki/SQLLikeComprehensions wiki page]).  Unfortunately GHC's implementation 
     38   does not currently have the feature enabled due to the difficulty in finding syntax for it that is parsable 
     39   (see the section on "Bracketing syntax" in the wiki page above). 
     40