Guest User

Untitled

a guest
Mar 23rd, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. import $ivy.`org.typelevel::cats-core:1.0.1`
  2. import cats.data.NonEmptyList
  3.  
  4. case class ABC(a : Int, b : Long, c : String)
  5.  
  6. case class NelWrapper(nel: NonEmptyList[Int])
  7.  
  8. val w = NelWrapper(NonEmptyList.of(1,2,3,4))
Add Comment
Please, Sign In to add comment