scala> import simplelenses.implicits._
import simplelenses.implicits._
scala> case class A(b: B); case class B(c: C); case class C(i: Int)
defined class A
defined class B
defined class C
scala> val a = A(B(C(4)))
a: A = A(B(C(4)))
scala> val a2 = a but { _.b.c.i <~ 8 }
a2: A = A(B(C(8)))
-
Notifications
You must be signed in to change notification settings - Fork 0
Small proof of concept
License
Jasper-M/simple-lenses
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Small proof of concept
Topics
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published