equal
deleted
inserted
replaced
289 val originals = map (row_of_pat o #2) rows |
289 val originals = map (row_of_pat o #2) rows |
290 val _ = case originals \\ finals of |
290 val _ = case originals \\ finals of |
291 [] => () |
291 [] => () |
292 | is => (if err then case_error else warning) |
292 | is => (if err then case_error else warning) |
293 ("The following clauses are redundant (covered by preceding clauses):\n" ^ |
293 ("The following clauses are redundant (covered by preceding clauses):\n" ^ |
294 space_implode "\n" (map (string_of_clause o nth clauses) is)); |
294 cat_lines (map (string_of_clause o nth clauses) is)); |
295 in |
295 in |
296 (case_tm, patts2) |
296 (case_tm, patts2) |
297 end; |
297 end; |
298 |
298 |
299 fun make_case tab ctxt = gen_make_case |
299 fun make_case tab ctxt = gen_make_case |