© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Applying an effectful function to an array of items - Effect Community
EC
Effect Community
•
6mo ago
Near
Applying an effectful function to an array of items
I
've got an array of items
T[]
T[]
and want to apply an effectful function
(item: T) => Effect<U, V>
(item: T) => Effect<U, V>
to each of those items and thus returning an
Effect<U[], V>
Effect<U[], V>
. What was the correct function to express that again
?
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
Using Effectful Services in Non-Effectful Parts of an App
EC
Effect Community / 🚀-beginners
6mo ago
Mapping a Success to an Effectful Error
EC
Effect Community / 🚀-beginners
6mo ago
Effectful Version of Effect.mapInputContext Inquiry
EC
Effect Community / 🚀-beginners
8mo ago
Equivalent of `Array.traverse` in fp-ts for transforming an array of type `A` to an `Either<E, B[]>`
EC
Effect Community / 🚀-beginners
3y ago