projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
042f30f
)
[project @ 2002-03-25 14:41:05 by simonpj]
author
simonpj
<unknown>
Mon, 25 Mar 2002 14:41:05 +0000
(14:41 +0000)
committer
simonpj
<unknown>
Mon, 25 Mar 2002 14:41:05 +0000
(14:41 +0000)
Comments
ghc/compiler/utils/Util.lhs
patch
|
blob
|
history
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
-- special cases.
lengthExceeds :: [a] -> Int -> Bool
+-- (lengthExceeds xs n) = (length xs > n)
lengthExceeds = atLength (not.null) (const False)
lengthAtLeast :: [a] -> Int -> Bool
lengthExceeds = atLength (not.null) (const False)
lengthAtLeast :: [a] -> Int -> Bool