maybe is a reserved word only if feature maybe_expr is enabled. In Erlang/OTP 25 and 26, maybe_expr is disabled by default. Starting from Erlang/OTP 27, maybe_expr is enabled by default.
This section is the Erlang reference manual. It describes the Erlang programming language.
The focus of the Erlang reference manual is on the language itself, not the implementation of it. The language constructs are described in text and with examples rather than formally specified. This is to make the manual more readable. The Erlang reference manual is not intended as a tutorial.
Information about implementation of Erlang can, for example, be found, in the following:
System Principles
Starting and stopping, boot scripts, code loading, logging, creating target systems
Efficiency Guide
Memory consumption, system limits
ERTS User's Guide
Crash dumps, drivers
It is assumed that the reader has done some programming and is familiar with concepts such as data types and programming language syntax.
In this section, the following terminology is used:
If a feature has been added in R13A or later, this is mentioned in the text.
For a complete list of BIFs, their arguments and return values, see erlang(3) manual page in ERTS.
The following are reserved words in Erlang:
after and andalso band begin bnot bor bsl bsr bxor case catch cond div end fun if let maybe not of or orelse receive rem try when xor
Note: cond and let, while reserved, are currently not used by the language.
maybe is a reserved word only if feature maybe_expr is enabled. In Erlang/OTP 25 and 26, maybe_expr is disabled by default. Starting from Erlang/OTP 27, maybe_expr is enabled by default.
© 2010–2023 Ericsson AB
Licensed under the Apache License, Version 2.0.