2016-11-26 63 views

回答

2

煩惱IM試試這個:

count n = foldr (\(f,i) j -> if (i==n) then j+1 else j) 0