simplified settings core example (as per `util/collection` `SettingsExample`)

This commit is contained in:
Bruno Bieth 2013-11-08 09:50:47 +01:00 committed by Mark Harrah
parent 33514ab6d7
commit 45d81a03a1
1 changed files with 1 additions and 1 deletions

View File

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