How can you compare two Scala function values for equality. The use case is that I have a list of functions where the list can contain duplicates and I only want to execute
Longer answer: You could have some kind of function factory that ensures that "identical" functions are acutally the same object. Depending on the architecture of your application, that might not be feasible though.