Search⌘ K
AI Features

Representing Values

Explore how to represent values in Elixir, including strings, integers, atoms, and functions. Understand the core data types and their roles in functional programming to build a solid foundation for advanced topics.

Introduction to working with variables

Variables and functions are the fundamentals of any functional language, and Elixir is no different. It’s essential to have a solid understanding of how they work so we can be comfortable working with the various types of functions. This chapter will use Elixir to explore the basics and build a solid foundation for the upcoming advanced topics.

Our first topic will be values. In Elixir, valid values, among others, include:

  • Strings
  • Integers
  • Floats
  • Lists
  • Maps
...