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.
我正在为我的编程语言课做一个项目。这是关于 IO 语言的。我的问题是是否可以将值随机生成到一个空的克隆列表中?我一直在搜索他们的主页,但找不到我要查找的信息。如果有人了解这种语言并且可以提供帮助,那就太好了!
用这个
GenerateRandomList := method(n, newList := list() n repeat( newList push(Random value) ) newList )