In a recent paper in Nature, Dominique Gravel and colleagues test how the evolution of specialization versus general resource use affect the strength of the diversity-function relationship. They use bacteria strains that have undergone evolution on diverse resources (generalist) versus on a singular resource (specialist). The resources in their case are different carbon substrates.

While these results are logical, they are important for two reasons. First is that the strength of the relationship between diversity and function is mechanistically determined by the resource use efficiency of individual strains, and how many of the total substrates they can use. The mechanisms producing different relationships in previous experiments were hypothesized after the results analyzed, as opposed to being predicted. Second, recent work has shown that evolutionary history seems to be a better explanation of community function than the number of species. These results show how the history of evolution can have important consequences for function.
Gravel, D., Bell, T., Barbera, C., Bouvier, T., Pommier, T., Venail, P., & Mouquet, N. (2010). Experimental niche evolution alters the strength of the diversity–productivity relationship Nature, 469 (7328), 89-92 DOI: 10.1038/nature09592