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

Best regards,
Oleksandr Zhabenko.