# Module /map

Map projection and transformation helpers (pick, extend, union) complementing prelude Map intrinsics.

```tangu
(use /map)
```

## Functions & symbols

### extend

`(extend target source)`

Extends `target` Map in place by merging all entries from `source` (overwriting duplicate keys).

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `target` | `Any` | no | — |
| `source` | `Any` | no | — |

### pick

`(pick source keys)`

Returns a new Map containing only keys present in `keys` from `source`.

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `source` | `Any` | no | — |
| `keys` | `Any` | no | — |

### union

`(union x y)`

Returns a new Map combining keys from `x` and `y` (`y` overwrites duplicate keys in `x`).

| Parameter | Type | Optional | Description |
| :--- | :--- | :--- | :--- |
| `x` | `Any` | no | — |
| `y` | `Any` | no | — |
