ross, 2 months ago @dhinojosa cats.Foldable is here to give everyone what they want: scala> import cats.syntax.all._ scala> List.empty[Int].combineAll val res1: Int = 0 scala> List.empty[Int].combineAllOption val res2: Option[Int] = None
@dhinojosa cats.Foldable is here to give everyone what they want:
cats.Foldable
scala> import cats.syntax.all._ scala> List.empty[Int].combineAll val res1: Int = 0 scala> List.empty[Int].combineAllOption val res2: Option[Int] = None