---
title: "How many kinds of datatypes are used in erlang"  
description: "How many kinds of datatypes are used in erlang"  
author: "Anonymous User"  
published: 2015-06-24  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/2649/how-many-kinds-of-datatypes-are-used-in-erlang  
category: "erlang"  
tags: ["functional programming", "concurrent programming", "otp", "erlang"]  
reading_time: 1 minute  

---

# How many kinds of datatypes are used in erlang

Erlang provides two datatypes:

• **Constant data types:** These types of data types cannot be split into more primitive subtypes. It consists of Numbers and Atoms.

• **Compound data types**: These types of data types are used to group together other types of data types. It consists of tuples and lists.

## Answers

### Answer by Anonymous User

Erlang provides two datatypes:

• **Constant data types:** These types of data types cannot be split into more primitive subtypes. It consists of Numbers and Atoms.

• **Compound data types**: These types of data types are used to group together other types of data types. It consists of tuples and lists.


---

Original Source: https://www.mindstick.com/interview/2649/how-many-kinds-of-datatypes-are-used-in-erlang

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
