equal
deleted
inserted
replaced
315 of Code_Thingol.Classinst _ => true |
315 of Code_Thingol.Classinst _ => true |
316 | _ => false; |
316 | _ => false; |
317 val implicits = filter (is_classinst o Graph.get_node program) |
317 val implicits = filter (is_classinst o Graph.get_node program) |
318 (Graph.imm_succs program name); |
318 (Graph.imm_succs program name); |
319 in union (op =) implicits end; |
319 in union (op =) implicits end; |
320 fun modify_stmt (_, Code_Thingol.Datatypecons _) = NONE |
320 fun modify_stmt (_, Code_Thingol.Fun (_, (_, SOME _))) = NONE |
|
321 | modify_stmt (_, Code_Thingol.Datatypecons _) = NONE |
321 | modify_stmt (_, Code_Thingol.Classrel _) = NONE |
322 | modify_stmt (_, Code_Thingol.Classrel _) = NONE |
322 | modify_stmt (_, Code_Thingol.Classparam _) = NONE |
323 | modify_stmt (_, Code_Thingol.Classparam _) = NONE |
323 | modify_stmt (_, stmt) = SOME stmt; |
324 | modify_stmt (_, stmt) = SOME stmt; |
324 in |
325 in |
325 Code_Namespace.hierarchical_program labelled_name { module_alias = module_alias, reserved = reserved, |
326 Code_Namespace.hierarchical_program labelled_name { module_alias = module_alias, reserved = reserved, |