mirror of https://github.com/sbt/sbt.git
simplified settings core example (as per `util/collection` `SettingsExample`)
This commit is contained in:
parent
33514ab6d7
commit
45d81a03a1
|
|
@ -118,7 +118,7 @@ for details.
|
|||
// Define some settings
|
||||
val mySettings: Seq[Setting[_]] = Seq(
|
||||
setting( a3, value( 3 ) ),
|
||||
setting( b4, app(a4 :^: KNil) { case av :+: HNil => av * 3 } ),
|
||||
setting( b4, map(a4)(_ * 3)),
|
||||
update(a5)(_ + 1)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue