data structures
It is better to have 100 functions operate on one data structure than 10 functions on 10 data structures.
-Alan Perlis
Data Types
nil
- Booleans
true false
- Symbols
fred
- Keywords
:fred
- Numbers
- Longs
- Ratios
22/7
- BigInt, BigDecimal
- Strings
"fred"
- Characters
\a \b \c
- Regex patterns
#"a*b"
Data Structures
- Lists
(1 2 3)
- Vectors
[1 2 3]
- Maps
{:a 1 :b 2 :c 3}
- Sets
#{fred ethel lucy}