Elixir – Errors Handling
This topic is about Elixir - Errors Handling. Elixir has three error mechanisms: errors, throws and exits. Let us explore each mechanism in detail. Error Errors (or exceptions) are used…
This topic is about Elixir - Errors Handling. Elixir has three error mechanisms: errors, throws and exits. Let us explore each mechanism in detail. Error Errors (or exceptions) are used…
This topic is about Elixir - Behaviours. Behaviors in Elixir (and Erlang) are a way to separate and abstract the generic part of a component (which becomes the behavior module)…
In this guide, we will discuss Erlang equal. The method returns a Boolean value on whether one string is equal to another. If the strings are equal, it will return…
In this guide, we will discuss Erlang len. The method returns the length of a particular string Syntax len(str) Parameters str − This is the string for which the number of…
In this guide, we will discuss Erlang Strings. A String literal is constructed in Erlang by enclosing the string text in quotations. Strings in Erlang need to be constructed using…
This topic is about Elixir - Typespecs. Elixir is a dynamically typed language, so all types in Elixir are inferred by the runtime. Nonetheless, Elixir comes with typespecs, which are…
This topic is about Elixir - Comprehensions. List comprehensions are syntactic sugar for looping through enumerables in Elixir. In this chapter we will use comprehensions for iteration and generation. Basics…
This topic is about Elixir - Sigils. In this chapter, we are going to explore sigils, the mechanisms provided by the language for working with textual representations. Sigils start with…
In this guide, we will discuss Erlang Is_Integer. The method checks if a number is an integer value. Syntax Is_Integer(X) Parameters X - A number value. Return Value The return…
In this guide, we will discuss Is_float in Erlang. The method checks if a number is a float value. Syntax Is_float(X) Parameters X - A number value. Return Value The…