Erlang – put
In this guide, we will discuss Erlang Put. This method is used to put a key, value pair in the process dictionary. Syntax put(key,value) Parameters key β The key which needs to be…
In this guide, we will discuss Erlang Put. This method is used to put a key, value pair in the process dictionary. Syntax put(key,value) Parameters key β The key which needs to be…
In this guide, we will discuss Erlang get. The method returns the process dictionary as a list. Syntax get() Parameters None Return Value The method returns the process dictionary as…
In this guide, we will discuss Erlang float. This method returns the float value of a particular number. Syntax float(number) Parameters number β This is the number which needs to be…
In this guide, we will discuss Erlang element. The method returns the Nth element in the tuple. Syntax element(N,Tuple) Parameters N β The position in the tuple which needs to be returned.Tuple β…
In this guide, we will discuss Erlang byte_size. This method returns the number of bytes contained in a Bitstring. Syntax byte_size(bitstring) Parameters bitstring β This is the btistring for which the number…
In this guide, we will discuss Erlang date. This method returns the current system date. Syntax date() Parameters None Return Value The current date is returned as a list. For…
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…