src/Pure/Tools/doc.scala
changeset 73565 1aa92bc4d356
parent 73340 0ffcad1f6130
child 75114 1fd78367c96f
equal deleted inserted replaced
73564:a021bb558feb 73565:1aa92bc4d356
    71       } yield entry
    71       } yield entry
    72 
    72 
    73     examples() ::: release_notes() ::: main_contents
    73     examples() ::: release_notes() ::: main_contents
    74   }
    74   }
    75 
    75 
    76   object Doc_Names extends Scala.Fun("doc_names")
    76   object Doc_Names extends Scala.Fun_String("doc_names")
    77   {
    77   {
    78     val here = Scala_Project.here
    78     val here = Scala_Project.here
    79     def apply(arg: String): String =
    79     def apply(arg: String): String =
    80       if (arg.nonEmpty) error("Bad argument: " + quote(arg))
    80       if (arg.nonEmpty) error("Bad argument: " + quote(arg))
    81       else cat_lines((for (Doc(name, _, _) <- contents()) yield name).sorted)
    81       else cat_lines((for (Doc(name, _, _) <- contents()) yield name).sorted)