src/Pure/ROOT.scala
author wenzelm
Thu, 04 May 2017 12:30:19 +0200
changeset 65715 e57e5935c6b4
parent 65712 ddd6dfc28e80
child 65761 ce909161d030
permissions -rw-r--r--
prefer standard getOrElse;

/*  Title:      Pure/ROOT.scala
    Author:     Makarius

Root of isabelle package.
*/

package object isabelle
{
  val ERROR = Exn.ERROR
  val error = Exn.error _
  val cat_error = Exn.cat_error _

  def using[A <: { def close() }, B](x: A)(f: A => B): B = Library.using(x)(f)
  val space_explode = Library.space_explode _
  val split_lines = Library.split_lines _
  val cat_lines = Library.cat_lines _
  val terminate_lines = Library.terminate_lines _
  val quote = Library.quote _
  val commas = Library.commas _
  val commas_quote = Library.commas_quote _
  val proper_string = Library.proper_string _
}