From 478e6999d7aee06f40a46fe53daaaa190bcce654 Mon Sep 17 00:00:00 2001 From: lewie Date: Tue, 17 Apr 2001 06:14:59 +0000 Subject: [PATCH] [project @ 2001-04-17 06:14:59 by lewie] Added test for parallel lets in parallel list comprehensions. --- ghc/tests/typecheck/should_compile/tc124.hs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 ghc/tests/typecheck/should_compile/tc124.hs diff --git a/ghc/tests/typecheck/should_compile/tc124.hs b/ghc/tests/typecheck/should_compile/tc124.hs new file mode 100644 index 0000000..c747edd --- /dev/null +++ b/ghc/tests/typecheck/should_compile/tc124.hs @@ -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] ] -- 1.7.10.4