equal
deleted
inserted
replaced
27 session_name: String, |
27 session_name: String, |
28 types: Boolean = true, |
28 types: Boolean = true, |
29 consts: Boolean = true): Session = |
29 consts: Boolean = true): Session = |
30 { |
30 { |
31 val thys = |
31 val thys = |
32 using(SQLite.open_database(store.the_database(session_name)))(db => |
32 using(store.open_database(session_name))(db => |
33 { |
33 { |
34 db.transaction { |
34 db.transaction { |
35 Export.read_theory_names(db, session_name).iterator.map(_._1).toSet.iterator. |
35 Export.read_theory_names(db, session_name).iterator.map(_._1).toSet.iterator. |
36 map((theory_name: String) => |
36 map((theory_name: String) => |
37 read_theory(db, session_name, theory_name, types = types, consts = consts)).toList |
37 read_theory(db, session_name, theory_name, types = types, consts = consts)).toList |