import cats.implicits._ import cats.kernel.Semigroup Semigroup[List[Int]].combine(List(1, 2, 3), List(4, 5, 6))
def combine(x: List[A], y: List[A]): List[A] = x ::: y
Login in to like
Login in to comment
or Read more about Scala Quizzes
Login in to like
Login in to comment