effect-collections-datastructs

Expose Effect data structures for value-based structural equality checks.

Updated Nov 20, 2025
One-click install
npx skills add https://github.com/mepuka/adjunct --skill effect-collections-datastructs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: effect-collections-datastructs
Source: https://github.com/mepuka/adjunct/tree/main/.claude/skills/effect-collections-datastructs
Command: npx skills add https://github.com/mepuka/adjunct --skill effect-collections-datastructs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Immutable data structures with value-based equality for predictable pipelines.

Core Features & Use Cases

  • Data.struct and Equal for structural equality
  • Data.Array, Data.Tuple, Data.Chunk
  • HashSet with value-based semantics

Quick Start

Create a struct-like data type and use Equal.equals to compare by value.

Frequently Asked Questions about effect-collections-datastructs

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I compare data structures by value instead of reference in TypeScript?

Value-based data structures use structural equality to compare data by content rather than identity. This Skill provides Data.struct and Equal APIs within Effect workflows, enabling predictable comparisons of structured data without reference checks, critical for pipelines that need reliable equality semantics.

What's the best way to work with immutable collections in Effect-based pipelines?

Effect provides immutable collections including Chunk, HashSet, and tuple/array wrappers that maintain structural equality. This Skill exposes high-performance APIs for these data structures, allowing safe, value-based membership testing and data handling without mutation side effects.

Can I use HashSet with custom data types and expect value-based membership checks?

HashSet membership operates on value-based semantics when paired with Equal implementations. This Skill enables structural equality for custom types, so HashSet correctly identifies members by content rather than object identity, supporting robust set operations in data pipelines.

How do I handle chunked data processing with reliable equality semantics?

Chunk abstracts sequential data into immutable segments with structural comparison support. This Skill provides the Chunk API and Equal integration, letting you safely compare, process, and pipeline chunked data without equality surprises in high-performance workflows.

Why does my data pipeline produce inconsistent results when comparing structured data?

Reference-based equality fails when pipelines need consistent behavior across equivalent data structures. This Skill solves that by providing immutable, value-based data structures—Data.struct, Data.tuple, Data.array—that guarantee predictable comparisons and structural equality throughout your Effect workflow.