1 Mar 2010 04:19
Re: module name with .
Robert Virding <rvirding <at> gmail.com>
2010-03-01 03:19:46 GMT
2010-03-01 03:19:46 GMT
Ah, so there is documentation. But I must say it has been put in a place where I would definitely not look for it, among the kernel documentation, as it is not something you call. And I think that as it is something experimental you should have to turn it on to use it, it should not *always* be there. The two other experimental features, parametrised modules and extends, are better in this respect in that you actually have to explicitly do something to get them. There was another thread which discussed the existence of parametrised modules and packages briefly appeared there as well (introduced by me). And, as I stated there, I don't see the need for either of them. Robert On 28 February 2010 18:29, Richard Carlsson <carlsson.richard <at> gmail.com> wrote: > Not that poorly documented (under kernel): > > http://www.erlang.org/doc/man/packages.html > > And no, you can't have a source file named "fm2.2.erl". > > /Richard > > Robert Virding wrote: >> >> My guess is that you are interacting with the experimental, and poorly >> documented, package system which assumes things when it sees module >> names with '.'. As far as I know there is no way to turn this off.(Continue reading)
RSS Feed