How to create 0 or 1 list in scheme

前端 未结 0 1616
礼貌的吻别
礼貌的吻别 2021-02-11 02:38

How to create a function that enumerates all lists of length n in a scheme with n as the argument, consisting of 0 and 1?

For example

(makelist-a2)
  ((0 0         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题