src/Pure/Thy/read.ML
changeset 204 b9f087b42a44
parent 147 e8d8fa0ddcef
child 207 059e406442fd
equal deleted inserted replaced
203:4a213aaca3d9 204:b9f087b42a44
   294                       let val thy = get_thyinfo t
   294                       let val thy = get_thyinfo t
   295                       in if is_some thy then
   295                       in if is_some thy then
   296                              let val ThyInfo {children, ...} = the thy
   296                              let val ThyInfo {children, ...} = the thy
   297                              in children union (next_level ts)
   297                              in children union (next_level ts)
   298                              end
   298                              end
   299                          else []
   299                          else next_level ts
   300                       end
   300                       end
   301                   | next_level [] = [];
   301                   | next_level [] = [];
   302                   
   302                   
   303                 val children = next_level thys
   303                 val children = next_level thys
   304             in load_order children ((result \\ children) @ children) end;
   304             in load_order children ((result \\ children) @ children) end;