mardi 21 avril 2015

how to pass a Scala function to another function as a function?

I'm just not understanding how to build a function from previous functions.

For example, math.min() function that takes the minimum of two numbers. What if I wanted to create a function min3Z(a:int, b:int, c:Int)? How would I build this from min?

Aucun commentaire:

Enregistrer un commentaire