marcosh
marcosh

Reputation: 9008

Types of values in Elm

In the documentation of elm, values are mentioned. Clearly strings, integers and floats are values in Elm. I guess also booleans True and False are values in elm.

Are these the only types of basic values or are there any others?

Upvotes: 3

Views: 83

Answers (1)

Chad Gilbert
Chad Gilbert

Reputation: 36375

The basic types that can be represented with literals include:

  • Int
  • Float
  • Bool
  • Char
  • String

Upvotes: 4

Related Questions