Proposal for containers: Add 'lookup' function to Data.Set

Bardur Arantsson spam at scientician.net
Tue Jun 28 10:20:36 UTC 2016


On 06/28/2016 11:44 AM, Oliver Charles wrote:
> I don't really see the problem with lookup. To me, that function always
> takes a container, an index into that container, and returns the value
> under than index or fails. It just so happens that sets are indexed by
> the very values the contain, but I don't find the signature confusing.
> Sure, I might not use it very often, but it's still clear enough to me
> what it's doing.
> 

+1




More information about the Libraries mailing list