Previous | Next --- Slide 20 of 59
Back to Lecture Thumbnails
juliob

I'm a bit confused on the 'a, b => a+b' for the reduce - is this defining the reduction function that will be done across output?

jtguibas

@juliob this is just some notation which describes a lambda function. It says the function takes in two arguments a and b and returns a + b.

Please log in to leave a comment.