How to create 0 or 1 list in scheme

前端 未结 0 1887
遥遥无期
遥遥无期 2021-02-11 02:48

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         


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