equal
deleted
inserted
replaced
977 (case distinct (eq_fst Thm.eq_thm_prop) results of |
977 (case distinct (eq_fst Thm.eq_thm_prop) results of |
978 [res] => res |
978 [res] => res |
979 | [] => err [] "Failed to retrieve literal fact" |
979 | [] => err [] "Failed to retrieve literal fact" |
980 | dups => err (distinct (op =) (map #2 dups)) "Ambiguous specification of literal fact"); |
980 | dups => err (distinct (op =) (map #2 dups)) "Ambiguous specification of literal fact"); |
981 |
981 |
982 val markup = |
982 val markup = Position.entity_markup Markup.literal_factN ("", thm_pos); |
983 Markup.entity Markup.literal_factN "" |
|
984 |> Markup.properties (Position.def_properties_of thm_pos); |
|
985 val _ = Context_Position.report_generic context pos markup; |
983 val _ = Context_Position.report_generic context pos markup; |
986 in pick true ("", thm_pos) [thm] end |
984 in pick true ("", thm_pos) [thm] end |
987 | retrieve pick context (Facts.Named ((xname, pos), sel)) = |
985 | retrieve pick context (Facts.Named ((xname, pos), sel)) = |
988 let |
986 let |
989 val thy = Context.theory_of context; |
987 val thy = Context.theory_of context; |