Last active
February 3, 2025 05:24
-
-
Save adamaiken89/e79b5c8babcbedbfdf45095c9f057922 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@startmindmap | |
* Primitive Types | |
**[#Pink] Numbers | |
***[#Orange] e.g. 1, 0xFF, 3.14, 1.0e3-2 | |
**[#Pink] Atoms | |
***[#Orange] e.g. atom | |
***[#Pink] Alias | |
****[#Orange] e.g. AnAtom, :"Elixir.AnAtom" | |
***[#Pink] Booleans | |
****[#Orange] e.g. true, false | |
***[#Pink] nil & Truthy Values | |
****[#Orange] e.g. nil | |
**[#Pink] Tuples | |
***[#Orange] e.g. {"Bob", 25} | |
**[#Pink] Lists | |
***[#Orange] e.g. [1, 2, 3] | |
***[#Pink] Keyword Lists | |
****[#Orange] e.g. [monday: 1, tuesday: 2, wednesday: 3] | |
***[#Pink] Charcter Strings | |
****[#Orange] e.g. -c'This is a character string' | |
**[#Pink] Maps | |
***[#Orange] e.g. %{a =>1, b => 2, c => 3} | |
***[#Pink] Ranges | |
****[#Orange] e.g. 1..2 | |
**[#Pink] Binaries and bitstrings | |
***[#Orange]:e.g. <<1, 2, 3>> | |
; | |
***[#Pink] Binary Strings | |
****[#Orange] e.g. "This is a binary string" <> " concat" | |
**[#Pink] First-class functions | |
***[#Orange]:e.g. | |
square = fn x -> | |
x * x | |
end; | |
@endmindmap |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment