Hi!
I'm curious why there is no find function either in core or here in extras?
I literally checked both three times, because I thought it's just me being blind
Wouldn't that be a useful addition?
find : (a -> Bool) -> Array a -> Maybe a
Also it would be natural to have its findLast counterpart
Maybe even call find as findFirst for clarity?
Hi!
I'm curious why there is no
findfunction either in core or here in extras?I literally checked both three times, because I thought it's just me being blind
Wouldn't that be a useful addition?
Also it would be natural to have its
findLastcounterpartMaybe even call
findasfindFirstfor clarity?