src/Pure/ROOT.scala
author wenzelm
Sat, 22 Oct 2016 20:09:30 +0200
changeset 64349 26bc905be09d
parent 64173 85ff21510ba9
child 64370 865b39487b5d
permissions -rw-r--r--
expose results on failure (via mail);
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
57647
5c600dd17617 clarified file names;
wenzelm
parents: 45673
diff changeset
     1
/*  Title:      Pure/ROOT.scala
45673
cd41e3903fbf separate compilation of PIDE vs. Pure sources, which enables independent Scala library;
wenzelm
parents: 45667
diff changeset
     2
    Module:     PIDE
42720
caa4f1279154 added toplevel isabelle package -- reduce warnings with scala-2.9.0.final;
wenzelm
parents:
diff changeset
     3
    Author:     Makarius
caa4f1279154 added toplevel isabelle package -- reduce warnings with scala-2.9.0.final;
wenzelm
parents:
diff changeset
     4
57647
5c600dd17617 clarified file names;
wenzelm
parents: 45673
diff changeset
     5
Root of isabelle package.
42720
caa4f1279154 added toplevel isabelle package -- reduce warnings with scala-2.9.0.final;
wenzelm
parents:
diff changeset
     6
*/
caa4f1279154 added toplevel isabelle package -- reduce warnings with scala-2.9.0.final;
wenzelm
parents:
diff changeset
     7
62492
0e53fade87fe clarified modules;
wenzelm
parents: 57649
diff changeset
     8
package object isabelle
42720
caa4f1279154 added toplevel isabelle package -- reduce warnings with scala-2.9.0.final;
wenzelm
parents:
diff changeset
     9
{
62492
0e53fade87fe clarified modules;
wenzelm
parents: 57649
diff changeset
    10
  val ERROR = Exn.ERROR
0e53fade87fe clarified modules;
wenzelm
parents: 57649
diff changeset
    11
  val error = Exn.error _
0e53fade87fe clarified modules;
wenzelm
parents: 57649
diff changeset
    12
  val cat_error = Exn.cat_error _
0e53fade87fe clarified modules;
wenzelm
parents: 57649
diff changeset
    13
63789
af28929ff219 support resource management;
wenzelm
parents: 62845
diff changeset
    14
  def using[A <: { def close() }, B](x: A)(f: A => B): B = Library.using(x)(f)
62492
0e53fade87fe clarified modules;
wenzelm
parents: 57649
diff changeset
    15
  val space_explode = Library.space_explode _
0e53fade87fe clarified modules;
wenzelm
parents: 57649
diff changeset
    16
  val split_lines = Library.split_lines _
0e53fade87fe clarified modules;
wenzelm
parents: 57649
diff changeset
    17
  val cat_lines = Library.cat_lines _
64173
85ff21510ba9 tuned signature;
wenzelm
parents: 63789
diff changeset
    18
  val terminate_lines = Library.terminate_lines _
62492
0e53fade87fe clarified modules;
wenzelm
parents: 57649
diff changeset
    19
  val quote = Library.quote _
0e53fade87fe clarified modules;
wenzelm
parents: 57649
diff changeset
    20
  val commas = Library.commas _
0e53fade87fe clarified modules;
wenzelm
parents: 57649
diff changeset
    21
  val commas_quote = Library.commas_quote _
42720
caa4f1279154 added toplevel isabelle package -- reduce warnings with scala-2.9.0.final;
wenzelm
parents:
diff changeset
    22
}