|
|
| Author |
Message |
|
| datacompboy |
Posted: Mon Sep 25, 2006 6:26 am |
|
|
|
User
Joined: 21 Sep 2006
Posts: 69
Location: Novosibirsk, Russia
|
Does anybody knows what dot before module name on function call means?
I have saw sometimes something like
A = .lists:flatten(B).
What dot mean? Erlang eats that, and do exactly as
A = lists:flatten(B).
I see no difference. But then, why that allowed?! |
_________________ --- suicide proc near\n call death\n suicide endp |
|
| Back to top |
|
| francesco |
Posted: Tue Sep 26, 2006 1:31 pm |
|
|
|
User
Joined: 07 Jul 2006
Posts: 249
Location: London
|
I suspect it has to do with packages, and the attempt to address name space problems in Erlang. The community is divided over their introduciton in the language, as some (Me included, who now has 11 years working with Erlang full time) never saw the need, and felt this is an issue which should have been addressed in OTP applications, and not in the syntax and semantics of the language. Luckily, it is an undocumented feature which is not that widely used... Meaning the OTP team reserves the right to remove it in future releases.
Francesco |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|