Remove prefixMatch and suffixMatch from Util
[ghc-hetmet.git] / compiler / main / Main.hs
index e9c8343..428f42e 100644 (file)
@@ -70,7 +70,7 @@ main =
   argv0 <- getArgs
 
   let
-        (minusB_args, argv1) = partition (prefixMatch "-B") argv0
+        (minusB_args, argv1) = partition ("-B" `isPrefixOf`) argv0
         mbMinusB | null minusB_args = Nothing
                  | otherwise = Just (drop 2 (last minusB_args))