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:
ac227fd
)
[project @ 2001-08-21 09:04:22 by rrt]
author
rrt
<unknown>
Tue, 21 Aug 2001 09:04:22 +0000
(09:04 +0000)
committer
rrt
<unknown>
Tue, 21 Aug 2001 09:04:22 +0000
(09:04 +0000)
Remove unused function isSlash
ghc/compiler/main/SysTools.lhs
patch
|
blob
|
history
diff --git
a/ghc/compiler/main/SysTools.lhs
b/ghc/compiler/main/SysTools.lhs
index
2e0edd0
..
20a8099
100644
(file)
--- a/
ghc/compiler/main/SysTools.lhs
+++ b/
ghc/compiler/main/SysTools.lhs
@@
-791,9
+791,6
@@
subst a b ls = map (\ x -> if x == a then b else x) ls
slash :: String -> String -> String
absPath, relPath :: [String] -> String
slash :: String -> String -> String
absPath, relPath :: [String] -> String
-isSlash '/' = True
-isSlash other = False
-
relPath [] = ""
relPath xs = foldr1 slash xs
relPath [] = ""
relPath xs = foldr1 slash xs