Commit 41b4b210 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Add a comment about when maybePrefixMatch can be removed

parent 0f22eb9f
......@@ -590,6 +590,8 @@ cmpList cmp (a:as) (b:bs)
-- This (with a more general type) is Data.List.stripPrefix from GHC 6.8.
-- This definition can be removed once we require at least 6.8 to build.
maybePrefixMatch :: String -> String -> Maybe String
maybePrefixMatch [] rest = Just rest
maybePrefixMatch (_:_) [] = Nothing
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment