---
slug: "Combine"
name: "Combine"
type: "Primitives"
layer: "Infrastructure"
ref: "Combine#5f8b"
sema_id: "sema:Combine#mh:SHA-256:5f8bc7d0ef143d4edeeea1ed81c4864a9cde7ded3b3eec2be25db3e9c3f51dc6"
tags: ["Infrastructure","Primitives"]
updated: 2026-11-11
mindscape: "bootstrap"
index_url: https://mindscape.world/scapes/bootstrap.json
url: https://mindscape.world/bootstrap/Combine/
related: ["Compose"]
---

# Combine

Binary merge operation

Layer: Infrastructure · Category: Primitives

## Mechanism

Merge two same-typed values into one. Associative, with an identity element (Empty) — together with Closure this makes the operation a monoid.

## Invariants

- Associativity: (A + B) + C = A + (B + C)
- Closure: Result type must match Input type

## Failure modes

—

## Builds on

—

## Used by

- [Compose](https://mindscape.world/scapes/bootstrap/Compose.md) (Mind; References)

## Identity

- Sema ID: `sema:Combine#mh:SHA-256:5f8bc7d0ef143d4edeeea1ed81c4864a9cde7ded3b3eec2be25db3e9c3f51dc6`
- Ref: `Combine#5f8b`
- Supersedes:
  - `sema:Combine#mh:SHA-256:c465eb2ec32d4de2329827dbd943672f5f0b675716af0aca501ce9d157e309b9`

## Links

- [Pattern page](https://mindscape.world/bootstrap/Combine/)
- [View in the interactive graph](https://mindscape.world/bootstrap/#Combine)
- [JSON](https://mindscape.world/scapes/bootstrap/Combine.json)
- [Index of all patterns](https://mindscape.world/scapes/bootstrap.json)
