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.
设计在-0。该函数使用从数字到数字的函数列表,并生成将这些函数应用于 0 的结果列表。
实际上,我能想到的直接解决方案使用map,而不是local。当然,现在,如果您使用的学生语言不支持map,那就另当别论了。无论如何,这是一个适合您的骨架解决方案:
map
local
(define (at-0 funcs) (map (lambda <???> (<???> <???>)) funcs))