Elixir – Libraries
This topic is about Elixir - Libraries. Elixir provides excellent interoperability with Erlang libraries. Let us discuss a few libraries in brief. The Binary Module The built-in Elixir String module…
This topic is about Elixir - Libraries. Elixir provides excellent interoperability with Erlang libraries. Let us discuss a few libraries in brief. The Binary Module The built-in Elixir String module…
This topic is about Elixir - Macros. Macros are one of the most advanced and powerful features of Elixir. As with all advanced features of any language, macros should be…
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)…
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…
This topic is about Elixir - Processes. In Elixir, all code runs inside processes. Processes are isolated from each other, run concurrent to one another and communicate via message passing.…
This topic is about Elixir - File IO. File IO is an integral part of any programming language as it allows the language to interact with the files on the…
This topic is about Elixir - Protocols. Protocols are a mechanism to achieve polymorphism in Elixir. Dispatching on a protocol is available to any data type as long as it…