什么是“新的”在erlang模块上做什么? [英] What does "new" do when called on an erlang module do?
本文介绍了什么是“新的”在erlang模块上做什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我看过module_name:新用于Erlang代码,但是没有引用module_name模块中的new函数。 新做什么?
I've seen module_name:new used in Erlang code, but there is no reference to a "new" function in the module_name module. What does "new" do?
推荐答案
它用于参数化模块:请参见 =http://myotherpants.com/2009/04/parameterized-modules-in-erlang/ =noreferrer> there 了解更多详情。
It is for "parametrized module": see here and there for more details.
这篇关于什么是“新的”在erlang模块上做什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文