summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorkil Naur <naur@post11.tele.dk>2008-05-04 19:15:11 +0000
committerThorkil Naur <naur@post11.tele.dk>2008-05-04 19:15:11 +0000
commit7df9b88b9e0565f438f16d8005526ffda80a1dbe (patch)
treefac26b3886a61597bd682c6ea0afe436a4be09c0
parentc14c7b82c82806bf9c8333e50c6648c3a58cd951 (diff)
downloadhaskell-7df9b88b9e0565f438f16d8005526ffda80a1dbe.tar.gz
Eliminate a warning for compiler/basicTypes/OccName.lhs
-rw-r--r--compiler/basicTypes/OccName.lhs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/basicTypes/OccName.lhs b/compiler/basicTypes/OccName.lhs
index 6739ba3d2e..ba17c0229c 100644
--- a/compiler/basicTypes/OccName.lhs
+++ b/compiler/basicTypes/OccName.lhs
@@ -83,6 +83,7 @@ import Data.Char
-- Unicode TODO: put isSymbol in libcompat
#if !defined(__GLASGOW_HASKELL__) || __GLASGOW_HASKELL__ > 604
#else
+isSymbol :: a -> Bool
isSymbol = const False
#endif