- Phoenix Web Development
- Brandon Richey
- 83字
- 2021-08-27 18:28:21
Understanding the different types in Elixir
Elixir has a number of different built-in types that we'll be working within the course of building our applications. They are the following:
- Strings (sometimes referred to as binaries)
- Integers
- Floats
- Lists
- Maps
- Keyword lists
- Tuples
- Modules
- Functions (functions themselves break into two separate types: module functions and anonymous functions)
Let's take a look at the various representations of these types and use some of the tools in IEx to understand more about what we're working with.