Commit 8c821411 authored by Jim Newton's avatar Jim Newton

fixed deprecated function zipped to lazyZip

parent 48d36448
......@@ -55,7 +55,7 @@ object CLcompat {
}
def mapcan[A1, A2, B](f: (A1, A2) => List[B], L1: List[A1], L2: List[A2]): List[B] = {
(L1, L2).zipped.flatMap(f)
L1.lazyZip(L2).flatMap(f)
}
def block[A](body:(A=>Nothing)=>A):A = {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment