algebraic-effects
CommunityModular computational effects with handlers.
Authorrainoftime
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the challenge of managing computational effects (like I/O, state, or exceptions) in a modular and composable way, moving beyond traditional monads.
Core Features & Use Cases
- Effect Signature Definition: Define abstract operations for various computational effects.
- Effect Handler Implementation: Create functions that interpret and execute these effect operations.
- Deep and Shallow Handlers: Supports different handler strategies for flexibility.
- Use Case: Implementing a custom
async/awaitsystem or a sophisticated logging mechanism that can be easily swapped or composed with other effects.
Quick Start
Use the algebraic-effects skill to define a new 'State' effect with get and set operations and implement a handler for it.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: algebraic-effects Download link: https://github.com/rainoftime/pl-skills/archive/main.zip#algebraic-effects Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.