src/Pure/Thy/export_theory.scala
changeset 68210 65f79c0ddb0d
parent 68209 aeffd8f1f079
child 68222 3c1a716e7f59
equal deleted inserted replaced
68209:aeffd8f1f079 68210:65f79c0ddb0d
    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