Polysemy is a high-performance, zero-boilerplate effect system for Haskell, designed to simplify the handling of side effects in functional programs. Unlike traditional monad transformer stacks, Polysemy uses a modern approach based on freer monads and interpreters, allowing developers to define, compose, and interpret effects in a more modular and testable way. It aims to offer both flexibility and performance without sacrificing type safety or expressiveness.
Features
- Defines effects as pure Haskell data types
- Enables modular, composable effect handlers
- Avoids monad transformer boilerplate
- Supports runtime and compile-time interpreters
- Promotes testability by mocking effects
- Designed for high performance and clarity
Categories
LibrariesLicense
BSD LicenseFollow Polysemy
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Polysemy!