Erlang programming language and keyboard shortcuts and erlang language basic details. IDs shortcut keys.
Erlang programming Language Basic Details:
- Purpose: Erlang is a functional programming language designed for building scalable, real-time systems with high availability.
- Concurrency: It provides built-in support for concurrency, distribution, and fault tolerance.
- Syntax: Erlang syntax is influenced by Prolog and functional programming languages like Lisp.
- OTP: Erlang OTP (Open Telecom Platform) is a set of libraries and design principles for building robust systems.
- Use Cases: Telecommunications, banking systems, multiplayer online games, and other systems requiring high concurrency and fault tolerance.
Erlang Shortcut Keys:
- Compile:
C-c C-k
(in Emacs Erlang mode) compiles the current buffer. - Load File:
C-c C-l
(in Emacs Erlang mode) loads the current buffer. - Erlang Shell: Start with
erl
command. - Comment/Uncomment:
C-c C-c
(in Emacs Erlang mode) comments or uncomments the current line or region. - Help:
C-h f
(in Emacs Erlang mode) displays documentation for a function.
These shortcuts are commonly used in Emacs Erlang mode, which is a popular environment for developing in Erlang. If you use a different editor or IDE, the shortcut keys may vary.
Table of Contents
Basic Erlang Example:
Here’s a simple example to illustrate the basics of Erlang:
Factorial Calculation
% Define a module named 'factorial'
-module(factorial).
% Export the 'fact' function with 1 argument
-export([fact/1]).
% Base case: factorial of 0 is 1
fact(0) -> 1;
% Recursive case: N! = N * (N-1)!
fact(N) when N > 0 -> N * fact(N - 1).
To compile and run this example:
- Save the code in a file named
factorial.erl
. - Open the Erlang shell and compile the module:
erl
1> c(factorial).
- Call the
fact
function:
2> factorial:fact(5).
120
Shortcut Keys Table:
Shortcut Key | Description |
---|---|
Ctrl + G | Enter Erlang shell (REPL) |
Ctrl + C, Ctrl + L | Clear the Erlang shell |
Ctrl + C, Ctrl + C | Interrupt a running Erlang process |
Ctrl + C, Ctrl + D | Quit the Erlang shell |
Ctrl + P | Switch Erlang shell process |
Ctrl + A | Move cursor to beginning of line in shell |
Ctrl + E | Move cursor to end of line in shell |
Tab | Auto-completion in shell |
Up Arrow / Down Arrow | Navigate command history in shell |
Ctrl + R | Search command history in shell |
F1 | Access Erlang documentation in shell |
These shortcuts help navigate and manage the Erlang shell effectively, boosting productivity and ease of use.
One Click
- Computer Keyboard Shortcut keys with Microsoft, windows, iOS kyes list
- Microsoft keyboard shortcuts kyes list Word, Excel, PowerPoint, Outlook
- Coding Editor software Keyboard Shortcut Keys
- All 3d or 2d software Keyboard Shortcut Keys
- All Adobe software Keyboard Shortcut Keys
- C Programming Language Keyboard Shortcut Keys
- Scala Programming Language Keyboard Shortcut Keys
- Erlang Programming Language Keyboard Shortcut Keys
- Emoji Keyboard Shortcut Keys get all in one click
- Lisp Syntax Programming Language Keyboard Shortcut Keys
- Haskell Programming Language Keyboard Shortcut Keys
- Python Programming Language Keyboard Shortcut Keys
- Java Programming Language Keyboard Shortcut Keys
- Pascal Programming Language Keyboard Shortcut Keys
- C++ Programming Language Keyboard Shortcut Keys
- Ruby Programming Language Keyboard Shortcut Keys
- JavaScript Programming Language Keyboard Shortcut Keys
- Php Programming Language Keyboard Shortcut Keys
- Perl Programming Language Keyboard Shortcut Keys
- Html Programming Language Keyboard Shortcut Keys
- Prolog Programming Language Keyboard Shortcut Keys
- Markdown Programming Language Keyboard Shortcut Keys
- Xml Programming Language Keyboard Shortcut Keys
- Go Programming Language Keyboard Shortcut Keys
- Datalog Programming Language Keyboard Shortcut Keys
- Ada Programming Language Keyboard Shortcut Keys
- X86 assembly Programming Language Keyboard Shortcut Keys
- ARM assembly Programming Language Keyboard Shortcut Keys
- Sql Programming Language Keyboard Shortcut Keys
- R Programming Language Keyboard Shortcut Keys
WebForestSite
Webforestsite This is my another website you get here website collection copyright free commercial use website.
- Free image , video, music get Website collection
- Free Graphics and Fonts, Colors, Icons , illustration get more Website collection
- Free Book and Webtoon, comics, ebook get more Website collection
- Free mockup and template get more Website collection
- Free Logo maker get more Website collection
- Free movies, webseries and kdrama cdrama get more Website collection
- Free Download movies webseries get more Website collection
- Free 3d animation texture 3d model get more Website collection
- Free Ai video generator image generator get more Website collection
- Free Edit anything online get more Website collection
- Free Education learning new skills get more Website collection
[…] Erlang Programming Language Keyboard Shortcut Keys […]