projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
cfe8954
)
Add a type signature
author
Ian Lynagh
<igloo@earth.li>
Mon, 2 Jul 2007 11:49:24 +0000
(11:49 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Mon, 2 Jul 2007 11:49:24 +0000
(11:49 +0000)
compiler/utils/Util.lhs
patch
|
blob
|
history
diff --git
a/compiler/utils/Util.lhs
b/compiler/utils/Util.lhs
index
8d79001
..
0a77e4d
100644
(file)
--- a/
compiler/utils/Util.lhs
+++ b/
compiler/utils/Util.lhs
@@
-733,6
+733,7
@@
consIORef var x = do
Module names:
\begin{code}
+looksLikeModuleName :: String -> Bool
looksLikeModuleName [] = False
looksLikeModuleName (c:cs) = isUpper c && go cs
where go [] = True