© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Searching for Array Utility Types in fp-ts: Specifically `findFirst<A>(p: Predicate<A>): (arr: A[... - Effect Community
EC
Effect Community
•
3y ago
•
7 replies
bwlt
Searching for Array Utility Types in fp-ts: Specifically `findFirst<A>(p: Predicate<A>): (arr: A[...
Hi
! do you know if in effect there are array utility types like the ones in fp
-ts
?
I would like to have a
findFirst<A>(p: Predicate<A>): (arr: A[]) => Option<A>
findFirst<A>(p: Predicate<A>): (arr: A[]) => Option<A>
I can use Array
.prototype
.find which returns
A | undefined
A | undefined
but I
'm searching for something more idiomatic
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
Exploring Effect Ecosystem for fp-ts Alternatives: Hyper-ts and fp-ts-routing
EC
Effect Community / 🚀-effect
3y ago
Seeking Equivalent of `fp-ts` Array Sequence in Effect Library
EC
Effect Community / 🚀-effect
2y ago
Searching for a Utility for Dropping Semaphore with 1 Permit
EC
Effect Community / 🚀-effect
3y ago
Seeking help with using @fp-ts/optic package for refactoring fp-ts projects
EC
Effect Community / 🚀-effect
3y ago