select(n,f)
i1 : select(20, odd) o1 = {1, 3, 5, 7, 9, 11, 13, 15, 17, 19} o1 : List
i2 : select(20, even) o2 = {0, 2, 4, 6, 8, 10, 12, 14, 16, 18} o2 : List