官术网_书友最值得收藏!

  • 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.

主站蜘蛛池模板: 常德市| 惠安县| 原平市| 宁津县| 稷山县| 琼海市| 富锦市| 永平县| 洛宁县| 万荣县| 尤溪县| 潞西市| 大同县| 德州市| 汶川县| 弋阳县| 渭南市| 望都县| 湖口县| 清水县| 开鲁县| 务川| 上高县| 四会市| 吐鲁番市| 岳阳市| 儋州市| 德保县| 大悟县| 珠海市| 章丘市| 交城县| 拜泉县| 沿河| 合阳县| 文昌市| 玉门市| 武川县| 嘉义县| 盐池县| 海宁市|