[erlang-questions] Changing the shell and module syntax andsemantics

VAUCHER Laurent <>
Thu Mar 8 09:48:59 CET 2007


Why not even support
-module(xxx).
to switch current modules ?
Just like (in-package :xxx) in Common-Lisp ?

Erlang's modules are not exactly the same thing as CL's packages. There
is a notion of "(reloadable) compilation unit" that does not exist in CL
but the shell could provide us with the right commands.

We could just type
c().
in the shell to compile/load the current module...

I'm no Erlang expert. I'm no CL expert either, so if my comments make no
sense, don't bother.

Laurent.





More information about the erlang-questions mailing list