把Module搞得像Class

http://www.clickcaster.com/items/the-black-art-of-erlangs-parameterized-modules
引用
To declare a parameterized module, simply specify some variable names in the module declaration...Parameterized modules give you what are effectively constants which can be declared per "instance" of a module.

非标准用法,风险自负。

你可能感兴趣的:(C++,c,erlang,C#)