Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何odd-list使用球拍语言编写如下工作的函数?
odd-list
(odd-list '((1 2 3 4) (5 6 7 8) (10 11 12 13))) => ((1 3) (5 7) (11 13))
(require srfi/26) (define (odd-list lists) (map (cut filter odd? <>) lists))
享受。:-)