Erlang – BIFS
In this guide, we will discuss Erlang BIFS. BIFs are functions that are built into Erlang. They usually do tasks that are impossible to program in Erlang. For example, itβs…
In this guide, we will discuss Erlang BIFS. BIFs are functions that are built into Erlang. They usually do tasks that are impossible to program in Erlang. For example, itβs…
In this guide, we will discuss Erlang Guards. Guards are constructs that we can use to increase the power of pattern matching. Using guards, we can perform simple tests and…
In this guide, we will discuss Erlang Pattern Matching. Patterns look the same as terms β they can be simple literals like atoms and numbers, compound like tuples and lists,…
In this guide, we will discuss Erlang Preprocessors. Before an Erlang module is compiled, it is automatically processed by the Erlang Preprocessor. The preprocessor expands any macros that might be…
In this guide, we will discuss Erlang Header Files. Header files are like include files in any other programming language. It is useful for splitting modules into different files and…
In this guide, we will discuss Erlang Macros. Macros are generally used for inline code replacements. In Erlang, macros are defined via the following statements. -define(Constant, Replacement).-define(Func(Var1, Var2,.., Var), Replacement).…
In this guide, we will discuss Erlang Exceptions. Exception handling is required in any programming language to handle the runtime errors so that normal flow of the application can be…
In this guide, we will discuss Erlang Records. Erlang has the extra facility to create records. These records consist of fields. For example, you can define a personal record which…
In this guide, we will discuss Erlang tuple_to_list. This method is convert a tuple to a list. Syntax tuple_to_list(list) Parameters Tuple β This is the tuple which needs to be converted…
In this guide, we will discuss Erlang list_to_tuple. This method is to convert a list to a tuple. Syntax list_to_tuple(list) Parameters list β This is the list which needs to be…