[project @ 2005-03-03 11:48:02 by chak]
authorchak <unknown>
Thu, 3 Mar 2005 11:48:02 +0000 (11:48 +0000)
committerchak <unknown>
Thu, 3 Mar 2005 11:48:02 +0000 (11:48 +0000)
commit706ebc799fd9db83ac6a2e2b701a6413b1867049
tree51c5ddb793587db5f71838e25a6bb184eba90a61
parentfc9bacdece12574a9ba9d2de2a74783da19f2ac4
[project @ 2005-03-03 11:48:02 by chak]
Merge to STABLE

Fixed two bugs:
* #1035575 from SourceForge (by adding smart constructors for source tuple
  construction at value and type level)
* Parallel array comprehensions were handled wrongly
  - The singleton expression-pattern pair `()'-`[:():]' is the neutral element
    for cross products (comma notation in comprehensions), but not for
    parallel comprehensions.
  - Now groups of parallel statements are handled separately (which is more
    like the vanilla list comprehension case).
  - The code is too general in that it correctly handles cross-products of
    groups of parallel qualifiers.  As this is correctly handled in the
    list and the array comprehension case, the syntax may be generalised to
    allow arbitrary nesting of cross-products and parallel qualifiers.
ghc/compiler/deSugar/DsListComp.lhs