Erlang/OTP Forums

Author Message

<  Advanced Erlang/OTP  ~  Strange dot before module names...

datacompboy
Posted: Mon Sep 25, 2006 6:26 am Reply with quote
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
View user's profile Send private message Visit poster's website MSN Messenger ICQ Number
francesco
Posted: Tue Sep 26, 2006 1:31 pm Reply with quote
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
View user's profile Send private message Visit poster's website

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

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