Erlang Extensions Since 4.4

Version 4.9.1
OTP Team

Bibliography | Glossary | Cover | Up

Table of Contents

1 Records
1.1 Defining a Record
1.2 Including a Record Definition
1.3 Creating a Record
1.4 Selectors
1.5 Updating a Record
1.6 Type Testing
1.7 Pattern Matching
1.8 Nested Records
1.9 Internal Representation of Records
1.10 Example

2 Programming with Funs
2.1 Higher Order Functions
2.2 Advantages of Higher Order Functions
2.3 The Syntax of Funs
2.4 Variable Bindings within a Fun
2.5 Funs and the Module lists
2.6 Funs which Return Funs

3 List Comprehensions
3.1 Examples of List Comprehensions
3.2 Variable Bindings in List Comprehensions

4 Macros
4.1 Macros and Tokens
4.2 Pre-Defined Macros
4.3 Flow Control in Macros
4.4 A Macro Expansion Utility

5 Includes
5.1 The -include directive
5.2 The -include_lib directive

6 Miscellaneous
6.1 Token Syntax
6.2 String concatenation
6.3 The ++ list concatenation operator
6.4 The -- list subtraction operator
6.5 Bitwise operator bnot
6.6 Logical operators
6.7 Match operator = in patterns
6.8 Literal string prefix in patterns
6.9 Disjunctions in guards