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:
Mark Harrah 2011-02-04 22:02:39 -05:00
parent 8183b717dd
commit 6688c4fdf1
1 changed files with 1 additions and 0 deletions

View File

@ -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)
}