Erlang – Functions
In this guide, we will discuss Functions in Erlang. Erlang is known as a functional programming language, hence you would expect to see a lot of emphasis on how functions…
In this guide, we will discuss Functions in Erlang. Erlang is known as a functional programming language, hence you would expect to see a lot of emphasis on how functions…
In this guide, we will discuss Case Statements in Erlang. Erlang offers the case statement, which can be used to execute expressions based on the output of the case statement.…
In this guide, we will discuss Nested if Statements in Erlang. Sometimes, there is a requirement to have multiple if statements embedded inside of each other, as is possible in other programming…
The if expression also allows for multiple expressions to be evaluated at once. The general form of this statement in Erlang is shown in the following program − Syntax if condition1 ->…
In this guide, we will discuss If statement in Erlang. The first decision making statement we will look at is the ‘if’ statement. The general form of this statement in…
Decision making structures requires that the programmer should specify one or more conditions to be evaluated or tested by the program, along with a statement or statements to be executed…
In this guide, we will discuss Loops in Erlang. Erlang is a functional programming language and what needs to be remembered about all functional programming languages is that they don’t…
Following are the bitwise operators available in Erlang. Sr.No.Operator & Description1bandThis is the bitwise “and” operator2borThis is the bitwise “or” operator3bxorThis is the bitwise “xor” or Exclusive or operator4notThis is…
Following are the logical operators available in Erlang. OperatorDescriptionExampleorThis is the logical “and” operatortrue or true will give trueandThis is the logical “or” operatorTrue and false will give falsenotThis is…
Following are the relational operators available in Erlang. OperatorDescriptionExample==Tests the equality between two objects2 = 2 will give true/=Tests the difference between two objects3 /= 2 will give true<Checks to…