Discussion: lookups in maps

Henning Thielemann lemming at henning-thielemann.de
Tue Jun 9 06:55:47 UTC 2020


On Tue, 9 Jun 2020, Ivan Lazar Miljenovic wrote:

> I know I've had cases where I didn't have a good default `a` but did 
> have an `r` (and I wanted to apply a function to the result if there was 
> a value in the Map anyway).

I think I had these cases, too, but "maybe . Map.lookup" would also be ok?


More information about the Libraries mailing list