From 6688c4fdf13ae9352ae6d3d09723b3717020f1ac Mon Sep 17 00:00:00 2001 From: Mark Harrah Date: Fri, 4 Feb 2011 22:02:39 -0500 Subject: [PATCH] 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 --- util/collection/Attributes.scala | 1 + 1 file changed, 1 insertion(+) diff --git a/util/collection/Attributes.scala b/util/collection/Attributes.scala index 0d9e9ade1..ba3f3293b 100644 --- a/util/collection/Attributes.scala +++ b/util/collection/Attributes.scala @@ -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) } \ No newline at end of file