![Elixir cover image](https://tiloid.com/images/cover_default.jpg)
![Topic Avatar Elixir](https://tiloid.com/uploads/avatars/Zr1rPXZY54IseOVkOFlRGKA5EkJ26k8ZRkcqU2gX.png)
Elixir
Functional and concurrent programming language built on Erlang's BEAM VM, known for its fault-tolerance, scalability, and real-time performance, ideal for building robust and distributed systems.
Created on
Oct 30, 2022
6
Posts
1
Followers
Convert String to Integer or Float
In Elixir, you can convert a string to an integer or a float using built-in functions that handle the conversion process.
Using String.to_integer()
Th...
![Convert String to Integer or Float](https://tiloid.com/uploads/posts/61/SF346HixXnX2aBUc0YS1JIa0m6t0Cv-metaY2FyYm9uKDU5KS5wbmc=-.png)
Use vs Import
In Elixir, both use and import are used to include external modules or functionality into the current module. However, they serve different purposes a...
![Use vs Import](https://tiloid.com/uploads/posts/62/EzZLabBttbbT5frUSAWgpVk44OEknu-metaY2FyYm9uKDYwKS5wbmc=-.png)
Checking for the Type of Variable
In Elixir, you can determine the type of a variable using various functions and operators. Checking the type of a variable can be useful for condition...
Joining Strings in Elixir
In Elixir, you can concatenate or join strings using various methods. Concatenating strings is a common operation in programming and can be achieved u...
Checking if an Item Exists in an List or Tuple
In Elixir, you can determine if an item exists in a list or tuple using various built-in functions. Checking for the presence of an item is a common o...
![Checking if an Item Exists in an List or Tuple](https://tiloid.com/uploads/posts/63/cJjTv8DCnVGgXNFWqt8LQ6PvEiX3O9-metaY2FyYm9uKDYxKS5wbmc=-.png)
Two Kinds of Functions
In Elixir, there are two main kinds of functions: named functions and anonymous functions.
Named Functions
Named functions in Elixir are defined with...
![Two Kinds of Functions](https://tiloid.com/uploads/posts/64/PdoTwb1S1Nokt9UHGLC0bc1PlmyIe4-metaY2FyYm9uKDYyKS5wbmc=-.png)