(count-if odd? [1 2 3 4 5]) -> 3 Finally, you can use count-if and partition to create a count-runs function that's more general than count-heads-pairs: ...
確定! 回上一頁