Calling internal functions - foo::bar() ?

Richard A. O'Keefe ok@REDACTED
Tue Mar 1 00:25:29 CET 2005


Rather than have a way to call non-exported functions, wouldn't
it be cleaner to do what Hugs does, and let you choose in the
shell which module to be in?  (The :module command, if you know
Hugs.)  That is, each expression you type in the shell is
evaluated inside the scope of some module, and you can change
which module that is.

This still lets you call any function in any module,
but it _doesn't_ give you any _syntax_ for that.
Perhaps

	mod()			Report the current module name
	mod(Module_Name)	Make Module_Name the current module name.




More information about the erlang-questions mailing list