Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/python-2.7/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Smalltalk 如何替换Squeak 4.5中的flatCollect?_Smalltalk_Squeak - Fatal编程技术网

Smalltalk 如何替换Squeak 4.5中的flatCollect?

Smalltalk 如何替换Squeak 4.5中的flatCollect?,smalltalk,squeak,Smalltalk,Squeak,我想将一个程序从Squeak 4.4移植到Squeak 4.5,但收到错误消息:OrderedCollection(Object)>>doesNotUnderstand:#flatCollect: flatCollect在Squeak 4.5中似乎不再可用。有人知道一个好的替代品吗?你可以用gather:替换所有出现的flatCollect:。 它的功能基本相同。请注意,Squeak 4.4中也不存在#flatCollect:。这是来自Pharo fork的消息。@aka.nice感谢您的澄清。

我想将一个程序从Squeak 4.4移植到Squeak 4.5,但收到错误消息:
OrderedCollection(Object)>>doesNotUnderstand:#flatCollect:


flatCollect
在Squeak 4.5中似乎不再可用。有人知道一个好的替代品吗?

你可以用
gather:
替换所有出现的
flatCollect:

它的功能基本相同。

请注意,Squeak 4.4中也不存在#flatCollect:。这是来自Pharo fork的消息。@aka.nice感谢您的澄清。很高兴知道。