projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 1997-07-30 23:52:45 by sof]
[ghc-hetmet.git]
/
ghc
/
compiler
/
tests
/
deSugar
/
ds004.hs
diff --git
a/ghc/compiler/tests/deSugar/ds004.hs
b/ghc/compiler/tests/deSugar/ds004.hs
deleted file mode 100644
(file)
index
ef9d0b4
..0000000
--- a/
ghc/compiler/tests/deSugar/ds004.hs
+++ /dev/null
@@
-1,9
+0,0 @@
---!!! ds004 -- nodups from SLPJ p 79
---
-module Test where
-
--- SLPJ, p 79
-nodups [] = []
-nodups [x] = [x]
-nodups (y:x:xs) | y == x = nodups (x:xs)
- | True = y : nodups (x:xs)