[Haskell-cafe] [Haskell] ANNOUNCE: mm2: The library that can be used for optimization of multiple (Ord a) => a -> b transformations

Henning Thielemann lemming at henning-thielemann.de
Sat Sep 21 21:36:32 UTC 2019


On Sat, 21 Sep 2019, Zemyla wrote:

> No, because Data.Map is Ord a => a -> Maybe b.

The same applies to the Vector solution ...

Or you use lookup as partial function, i.e. (Map.!) :: Map a b -> a -> b.


More information about the Haskell-Cafe mailing list