[project @ 2001-04-17 06:14:59 by lewie]
authorlewie <unknown>
Tue, 17 Apr 2001 06:14:59 +0000 (06:14 +0000)
committerlewie <unknown>
Tue, 17 Apr 2001 06:14:59 +0000 (06:14 +0000)
Added test for parallel lets in parallel list comprehensions.

ghc/tests/typecheck/should_compile/tc124.hs [new file with mode: 0644]

diff --git a/ghc/tests/typecheck/should_compile/tc124.hs b/ghc/tests/typecheck/should_compile/tc124.hs
new file mode 100644 (file)
index 0000000..c747edd
--- /dev/null
@@ -0,0 +1,5 @@
+-- !!! Parallel list comprehensions w/ parallel lets
+
+module ShouldCompile where
+
+xys = [ (x, y) | let a = 13, x <- [a .. 19] | let a = 17, y <- [a .. 23] ]