Erlang shell manual






















From an Unix shell you can access the manual pages for the Erlang/OTP libraries. As an example to display the manual page for the module titledlists you enter % erl -man lists You can list the shell commands from the Erlang shell if you enter 1 help(). There is lots of information at the commercial Erlang/OTP site www.doorway.ru When Erlang/OTP is started, the system searches for a file www.doorway.ru in the user's home directory. If www.doorway.ru file is found, it is assumed to contain valid Erlang expressions. These expressions are evaluated as if they were input to the shell. Erlang Reference Manual Introduction Purpose This reference manual describes the Erlang programming language. The focus is on the language itself, not the implementation. The language constructs are described in text and with examples rather than formally specified, with the intention to make the manual more readable. The manual is not intended.


The Erlang shell understands the command c(Module) which both compiles and loads Module. There is also a module make, which provides a set of functions similar to the UNIX type Make functions, see the make(3) manual page in Tools. The compiler can also be accessed from the OS prompt, see the erl(1) manual page in ERTS. When Erlang/OTP is started, the system searches for a file www.doorway.ru in the user's home directory. If www.doorway.ru file is found, it is assumed to contain valid Erlang expressions. These expressions are evaluated as if they were input to the shell. This module provides an Erlang shell. The shell is a user interface program for entering expression sequences. The expressions are evaluated and a value is returned. A history mechanism saves previous commands and their values, which can then be incorporated in later commands.


Shell Commands · User switch command · --> h · c [nn] - connect to job · i [nn] - interrupt job · k [nn] - kill job · j - list all jobs · s. (seguido de espacios en blanco) separa funciones completas y expresiones en el shell. Semicolons (;) cláusulas separadas. Encontramos cláusulas en varios. Creating an Erlang process, communication between Erlang processes. See the User Guide for more details and examples of use of the shell. Back to top.

0コメント

  • 1000 / 1000