What problem does it solve?
Managing data collections in TypeScript and JavaScript often forces you to choose a single structure and accept performance or immutability tradeoffs. This Skill guides when to use Effect's Array, Chunk, Record, and HashMap modules to select the right tool for the job and keep transformations safe and predictable.
Core Features & Use Cases
- Native-collection guidance: when to use Array for standard transformations and how to leverage Array utilities like filterMap and getSomes.
- Performance-focused choices: replace repeated concatenations with Chunk and use HashMap for value-based keys.
- Immutability and type-safety: immutable APIs and type-safe transforms for robust data pipelines.
- Use cases: data shaping, configuration management, and complex-key mappings in TypeScript projects.
Quick Start
Start by importing Effect's Array utilities and run a simple transformation that filters and maps an array using safe Option-based patterns.