summaryrefslogtreecommitdiff
path: root/docs/type_system/map.md
blob: 44cd6cfe77ecbbd9e5bcf65551178741078d75d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Map

---

```text
Map[[] KEY_TYPE; VALUE_TYPE]
```

## Type Body Object Definitions

```c
typedef struct {
    kpl_ptr key, value;
} kpl_type_body_map;
```

# Alias

```text
Set[Generic.T] `alias Map[Generic.T; Void]
```

# Operators

## ``get`

## ``set`

## ``has`

## Concatenate `,`

# Iterating

# Mutating