Difference between revisions of "Erlang"

From ArchWiki
Jump to navigation Jump to search
m (added spanish language)
m (added spanish language)
(No difference)

Latest revision as of 12:23, 8 February 2019

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: This article is a stub. Can it be extended without duplicating the upstream docs? (Discuss in Talk:Erlang#)

Erlang is a programming language with the specific qualities of immutable data and distributed computing.


Install the erlang package.


For further documentation you can read Erlang's docs.

To activate the console, type in the command erl

Where you can enter commands like so:

   Erlang/OTP 21 [erts-10.1] [source] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1] [hipe]
   Eshell V10.1  (abort with ^G)
   1> 1 + 2.
   2> (2 + 3) * 4 / 5.

Tips and tricks

Emacs mode

To set up the included Emacs mode, erlang-mode, follow the documentation (the OTP path is /usr/lib/erlang).