[project @ 2001-07-11 10:20:43 by rrt]
[ghc-hetmet.git] / ghc / compiler / main / SysTools.lhs
index 399f9db..47ad974 100644 (file)
@@ -685,7 +685,7 @@ slash s1 s2 = s1 ++ ('/' : s2)
 getExecDir :: IO (Maybe String)
 getExecDir = do h <- getModuleHandle Nothing
                n <- getModuleFileName h
-               return (Just (reverse (tail (dropWhile (not .isSlash) (reverse (unDosifyPath n))))))
+               return (Just (reverse (tail (dropWhile (not . isSlash) (reverse (unDosifyPath n))))))
 #else
 getExecDir :: IO (Maybe String) = do return Nothing
 #endif