© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Covariance in `R` for Effect Library - Effect Community
EC
Effect Community
•
16mo ago
gambaru
Covariance in `R` for Effect Library
Why is Effect covariant in
R
R
? Effect is inspired by ZIO and I thought
one of the major innovations of ZIO
was contravariance in dep injection
. I
'm imagining an
Effect<A,E,R>
Effect<A,E,R>
is something akin to
(dep: R) => [A,E]
(dep: R) => [A,E]
which should be contravariant in
R
R
as a func param
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Documentation for `TaggedRequest` in Effect Typescript Library
EC
Effect Community / 🚀-beginners
13mo ago
Understanding `Effect.suspend` in Effect Typescript Library
EC
Effect Community / 🚀-beginners
13mo ago
Effect.Effect<R,E,A> switched to Effect.Effect<A,E,R>
EC
Effect Community / 🚀-beginners
3y ago
Optics Support in Effect Library
EC
Effect Community / 🚀-beginners
4mo ago