projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1996-07-26 20:58:52 by partain]
[ghc-hetmet.git]
/
ghc
/
compiler
/
tests
/
deSugar
/
ds031.hs
diff --git
a/ghc/compiler/tests/deSugar/ds031.hs
b/ghc/compiler/tests/deSugar/ds031.hs
index
6454e08
..
3378800
100644
(file)
--- a/
ghc/compiler/tests/deSugar/ds031.hs
+++ b/
ghc/compiler/tests/deSugar/ds031.hs
@@
-1,3
+1,5
@@
+module ShouldSucceed where
+
foldPair :: (a->a->a,b->b->b) -> (a,b) -> [(a,b)] -> (a,b)
foldPair fg ab [] = ab
foldPair fg@(f,g) ab ((a,b):abs) = (f a u,g b v)