Lambda functions

There is a quicker way to write functions: lambdas ! So basically you specify the variables in input, and then the operation which is performed et.. voila ! You can also write anonymous functions : Function map takes two arguments: map(func, seq) map() applies the function to ALL elements in Read more…