aboutsummaryrefslogtreecommitdiffhomepage
path: root/Setup.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Setup.hs')
-rw-r--r--Setup.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Setup.hs b/Setup.hs
index cf84de0..c35fcf9 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -38,6 +38,7 @@ extractPrefixArgs prefix args
removePrefix :: String -> String -> Maybe String
removePrefix "" ys = Just ys
+removePrefix _ "" = Nothing
removePrefix (x:xs) (y:ys)
| x == y = removePrefix xs ys
| otherwise = Nothing