Value-based data structures (Data.struct, tuple, array) and high-performance collections (Chunk, HashSet). Use for safe comparisons and pipelines.
import { Data, Equal } from "effect"
const a = Data.struct({ id: 1, name: "A" })
const b = Data.struct({ id: 1, name: "A" })
Equal.equals(a, b) // true
const t = Data.tuple(1, "x")
const arr = Data.array([1,2,3])
import { Chunk } from "effect"
const items = Chunk.fromIterable([1,2,3])
import { HashSet } from "effect"
const set = HashSet.fromIterable([1,2,3])
CRITICAL: Search local Effect source before implementing
The full Effect source code is available at docs/effect-source/. Always search the actual implementation before writing Effect code.
docs/effect-source/effect/src/Data.tsdocs/effect-source/effect/src/Chunk.tsdocs/effect-source/effect/src/HashSet.tsdocs/effect-source/effect/src/Equal.ts# Find Data.struct and equality patterns
grep -F "Data.struct" docs/effect-source/effect/src/Data.ts
grep -F "Data.tuple" docs/effect-source/effect/src/Data.ts
# Find Chunk operations
grep -F "export" docs/effect-source/effect/src/Chunk.ts | grep -F "function"
# Study HashSet API
grep -F "export" docs/effect-source/effect/src/HashSet.ts | grep -F "function"
# Find Equal implementation
grep -F "equals" docs/effect-source/effect/src/Equal.ts
docs/effect-source/effect/src/ for the implementationReal source code > documentation > assumptions
npx skills add mepuka/effect-collections-datastructs下载完整 Skill 目录,包含 SKILL.md 及所有相关文件
Search for places (restaurants, cafes, etc.) via Google Places API proxy on localhost.
Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.
Create or update AgentSkills. Use when designing, structuring, or packaging skills with scripts, references, and assets.
Start voice calls via the OpenClaw voice-call plugin.
Notion API for creating and managing pages, databases, and blocks.
Gemini CLI for one-shot Q&A, summaries, and generation.
Category:developer