Have you benchmarked this library? I don't see how using a vector can be any faster than using a case.
On Sat, 21 Sep 2019, 14:00 olexandr543--- via Haskell, <haskell@haskell.org> wrote: > Hello! > > My library that can help to optimize using 'case ... of ...' construction > if there are multiple (more than at least 5) variants. > mm2: The library that can be used for optimization of multiple (Ord a) => > a -> b transformations <http://hackage.haskell.org/package/mm2> > > Best regards, > Oleksandr Zhabenko. > > > _______________________________________________ > Haskell mailing list > Haskell@haskell.org > http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell >
_______________________________________________ Haskell mailing list Haskell@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell