equal
deleted
inserted
replaced
124 fun thms_of_name ctxt name = |
124 fun thms_of_name ctxt name = |
125 let |
125 let |
126 val get = maps (Proof_Context.get_fact ctxt o fst) |
126 val get = maps (Proof_Context.get_fact ctxt o fst) |
127 val keywords = Thy_Header.get_keywords' ctxt |
127 val keywords = Thy_Header.get_keywords' ctxt |
128 in |
128 in |
129 Symbol.explode name |
129 Symbol_Pos.explode (name, Position.start) |
|
130 |> Token.tokenize keywords {strict = false} |
|
131 |> filter Token.is_proper |
130 |> Source.of_list |
132 |> Source.of_list |
131 |> Token.source keywords Position.start |
|
132 |> Token.source_proper |
|
133 |> Source.source Token.stopper (Parse.thms1 >> get) |
133 |> Source.source Token.stopper (Parse.thms1 >> get) |
134 |> Source.exhaust |
134 |> Source.exhaust |
135 end |
135 end |
136 |
136 |
137 val one_day = seconds (24.0 * 60.0 * 60.0) |
137 val one_day = seconds (24.0 * 60.0 * 60.0) |