code: func filter(f func(string) bool, list []string) []string {
  	var out []string
  	for _, x := range list {
  		if f(x) {
  			out = append(out, x)
  		}
  	}
  	return out
  }
docs: // filter returns the elements in list satisfying f.