reorganization of main/

* split several source files
* move base settings sources (Scope, Structure, ...) into main/settings/
* breaks cycles.  In particular, setting system moved from Project to Def
This commit is contained in:
Mark Harrah 2012-07-31 11:52:10 -04:00
parent 19315265c1
commit dbe4b74c10
1 changed files with 1 additions and 0 deletions

View File

@ -125,6 +125,7 @@ final case class Attributed[D](data: D)(val metadata: AttributeMap)
}
object Attributed
{
def data[T](in: Seq[Attributed[T]]): Seq[T] = in.map(_.data)
def blankSeq[T](in: Seq[T]): Seq[Attributed[T]] = in map blank
def blank[T](data: T): Attributed[T] = Attributed(data)(AttributeMap.empty)
}