Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- abstract sealed case class Foop(b: Int)
- object Foop {
- def construct (r: Int): Foop = new Foop(r) {}
- implicit val foopMeta: Meta[Foop] = Meta[Int].nxmap(construct, _.b)
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement