The Carrier super-protocol for phantom-typed value wrappers in Swift.
-
Updated
Jun 4, 2026 - Swift
The Carrier super-protocol for phantom-typed value wrappers in Swift.
Phantom-typed value wrappers for zero-cost type safety in Swift.
Iterator primitives for Swift — the codec-triple agent, witness, and attachable for single-pass iteration.
Ownership and lifetime types for Swift.
Fluent accessor primitives for Swift.
Reified Sendable comparators for Swift — Order.Comparator, projections, and the .order fluent property.
Byte type for Swift — atomic binary data unit distinct from UInt8, with bitwise ops, hex accessor, and Carrier.Protocol conformance.
The Coproduct n-ary coproduct type for typed sum values in Swift. Source-only — guarded `#if hasFeature(VariadicEnum)`.
Cardinal types for Swift — non-negative counts with policy-aware arithmetic and phantom-tagged variants.
Sequence.Protocol with ~Copyable element support, lazy map/filter/flatMap/prefix/drop pipelines, fluent terminal ops, and a Myers-diff implementation.
Standard library extensions for Swift.
The Either binary coproduct type for typed sum values in Swift.
Add a description, image, and links to the primitives topic page so that developers can more easily learn about it.
To associate your repository with the primitives topic, visit your repo's landing page and select "manage topics."