mirror of https://github.com/sbt/sbt.git
improve Setting construction
- make all constructing methods end in = for lowest precedence
- rename Scope constructing method 'apply' to 'in' to allow 'apply' to
be used on single settings as well as tuples and 'in' reads better
This commit is contained in:
parent
8183b717dd
commit
6688c4fdf1
|
|
@ -65,5 +65,6 @@ final case class Attributed[D](data: D)(val metadata: AttributeMap)
|
|||
}
|
||||
object Attributed
|
||||
{
|
||||
implicit def blankSeq[T](in: Seq[T]): Seq[Attributed[T]] = in map blank
|
||||
implicit def blank[T](data: T): Attributed[T] = Attributed(data)(AttributeMap.empty)
|
||||
}
|
||||
Loading…
Reference in New Issue