Using go1.1's reflect.Makefunc to build filters on slices with generic type suport.