projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2002-03-25 14:41:05 by simonpj]
[ghc-hetmet.git]
/
ghc
/
compiler
/
utils
/
Util.lhs
diff --git
a/ghc/compiler/utils/Util.lhs
b/ghc/compiler/utils/Util.lhs
index
8c86eea
..
93e759b
100644
(file)
--- a/
ghc/compiler/utils/Util.lhs
+++ b/
ghc/compiler/utils/Util.lhs
@@
-257,6
+257,7
@@
atLength atLenPred atEndPred ls n
-- special cases.
lengthExceeds :: [a] -> Int -> Bool
+-- (lengthExceeds xs n) = (length xs > n)
lengthExceeds = atLength (not.null) (const False)
lengthAtLeast :: [a] -> Int -> Bool