Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import $ivy.`org.typelevel::cats-core:1.0.1`
- import cats.data.NonEmptyList
- case class ABC(a : Int, b : Long, c : String)
- case class NelWrapper(nel: NonEmptyList[Int])
- val w = NelWrapper(NonEmptyList.of(1,2,3,4))
Add Comment
Please, Sign In to add comment