haskell-patterns
CommunityIdiomatic Haskell conventions for safe code.
Software Engineering#concurrency#error-handling#haskell#coding-conventions#type-design#monad-transformers
Authorbirdgg
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This set of conventions provides structured guidelines and decision rules to help developers write idiomatic, safe, and maintainable Haskell code.
Core Features & Use Cases
- Type Design: prefer newtypes, smart constructors, and sum types over booleans.
- Error Handling: use Either/ExceptT for recoverable errors; avoid partial functions.
- Application Structure: use ReaderT, MTLE-style abstractions, and limit transformer stacks.
- Strictness & Concurrency: prefer Text over String; embrace strict IO and concurrent patterns like STM and async.
- Anti-patterns: avoid partials, deep stacks, and lazy IO.
Quick Start
Adhere to these conventions when designing Haskell modules to ensure safer, clearer, and more maintainable code.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: haskell-patterns Download link: https://github.com/birdgg/haskell-claude/archive/main.zip#haskell-patterns 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.