"\n" ++
" Options for ':breakpoint':\n" ++
" list list the current breakpoints\n" ++
- " add Module line [col] add a new breakpoint\n" ++
+ " add [Module] line [col] add a new breakpoint\n" ++
" del (breakpoint# | Module line [col]) delete a breakpoint\n" ++
" continue continue execution\n" ++
" stop Stop a computation and return to the top level\n" ++
getCommonPrefix :: [String] -> String
getCommonPrefix [] = ""
getCommonPrefix (s:ss) = foldl common s ss
- where common s "" = s
+ where common s "" = ""
common "" s = ""
common (c:cs) (d:ds)
| c == d = c : common cs ds