Closed kushti closed 2 months ago
This PR is adding higher-order lambdas support in serialization, thus making them useful.
Example:
{ val c = Coll(Coll(1)) def fn(xs: Coll[Int]) = { val inc = { (x: Int) => x + 1 } def apply(in: (Int => Int, Int)) = in._1(in._2) val ys = xs.map { (x: Int) => apply((inc, x)) } ys.size == xs.size && ys != xs } c.exists(fn) }
Close #847
This PR is adding higher-order lambdas support in serialization, thus making them useful.
Example:
Close #847