equal
deleted
inserted
replaced
427 val nt_prods = |
427 val nt_prods = |
428 fold (union (op =) o snd) (snd (Vector.sub (prods, tag))) [] @ |
428 fold (union (op =) o snd) (snd (Vector.sub (prods, tag))) [] @ |
429 map prod_of_chain (these (AList.lookup (op =) chains tag)); |
429 map prod_of_chain (these (AList.lookup (op =) chains tag)); |
430 in map (pretty_prod name) nt_prods end; |
430 in map (pretty_prod name) nt_prods end; |
431 |
431 |
432 in maps pretty_nt (sort_wrt fst (Symtab.dest tags)) end; |
432 in maps pretty_nt (sort_by fst (Symtab.dest tags)) end; |
433 |
433 |
434 |
434 |
435 |
435 |
436 (** Operations on gramars **) |
436 (** Operations on gramars **) |
437 |
437 |