Erlang – Header Files
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 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…
In this guide, we will discuss Erlang is_tuple. This method is used to determine is the term provided is indeed a tuple. Syntax is_tuple(tuple) Parameters Tuple − This is the tuple…
In this guide, we will discuss Erlang Tuples. A tuple is a compound data type with a fixed number of terms. Each term in the Tuple is called an element.…
In this guide, we will discuss Erlang remove. This method is used to remove a key value from the map. Syntax remove(key,map) Parameters key − This is the key which needs…
In this guide, we will discuss Erlang values. This method is used to return all the values from a map. Syntax values(map) Parameters map1 − This is the map for which…