Today's question. I f I have a function. for insta...
# arrow-contributors
p
Today's question. I f I have a function. for instance:
Copy code
fun <B> foldLeft(b: B, f: (B, A) -> B): B
Should the body be:
Copy code
ev().fold({ b }, { f(b, it) })
or just
Copy code
fold({ b }, { f(b, it) })
My understanding is that
ev()
is just a safe down cast , right?