[erlang-questions] why prefixing module name with '.' works?

Zvi <>
Sat Apr 25 20:49:29 CEST 2009


Notice '.' in front of 'lists' module name.
Is this somehow connected to module namespaces?

1> lists:seq(1,10).      
[1,2,3,4,5,6,7,8,9,10]

2> .lists:seq(1,10).     
[1,2,3,4,5,6,7,8,9,10]

3> . lists:seq(1,10).
* 1: syntax error before: '.'

BR,
Zvi

-- 
View this message in context: http://www.nabble.com/why-prefixing-module-name-with-%27.%27-works--tp23235234p23235234.html
Sent from the Erlang Questions mailing list archive at Nabble.com.




More information about the erlang-questions mailing list