[project @ 2002-10-15 13:18:51 by simonmar]
authorsimonmar <unknown>
Tue, 15 Oct 2002 13:18:51 +0000 (13:18 +0000)
committersimonmar <unknown>
Tue, 15 Oct 2002 13:18:51 +0000 (13:18 +0000)
Remove looksLikeModuleName, it is defined in Util now.

ghc/compiler/ghci/InteractiveUI.hs

index 686e17b..e245817 100644 (file)
@@ -1,6 +1,6 @@
 {-# OPTIONS -#include "Linker.h" -#include "SchedAPI.h" #-}
 -----------------------------------------------------------------------------
--- $Id: InteractiveUI.hs,v 1.135 2002/10/14 14:54:16 simonmar Exp $
+-- $Id: InteractiveUI.hs,v 1.136 2002/10/15 13:18:51 simonmar Exp $
 --
 -- GHC Interactive User Interface
 --
@@ -1040,14 +1040,6 @@ printTimes allocs psecs
                         int allocs <+> text "bytes")))
 
 -----------------------------------------------------------------------------
--- utils
-
-looksLikeModuleName [] = False
-looksLikeModuleName (c:cs) = isUpper c && all isAlphaNumEx cs
-
-isAlphaNumEx c = isAlphaNum c || c == '_' || c == '.'
-
------------------------------------------------------------------------------
 -- reverting CAFs
        
 revertCAFs :: IO ()