[erlang-questions] module_info
Saifi Khan
saifi@REDACTED
Sat May 19 16:27:49 CEST 2007
Hi:
Started working through the 'Getting started with Erlang' examples.
There are two module_info functions that seem to be defined
for every module.
module_info/0
module_info/1
What is the purpose of module_info function ?
On invocation the following info is shown for example
2> tut:module_info().
[{exports,[{double,1},{module_info,0},{module_info,1}]},
{imports,[]},
{attributes,[{vsn,[273405249567272843094678604656701543356]}]},
{compile,[{options,[]},
{version,"4.4.4"},
{time,{2007,5,19,14,5,5}},
{source,"/data/code/tut.erl"}]}]
What is the interpretation of the vsn entry in the attributes field ?
There is a very large number there. What is its purpose ?
Appreciate if the experienced erlangers share their thoughts.
thanks
Saifi.
TWINCLING Society
http://www.twincling.org/
More information about the erlang-questions
mailing list