In addition to the underscore pattern (meh - makes it easy to forget about a case added later) and refactoring types, I can also recommend extracting a function. You still have to have n cases but each of them will be short.
-- You received this message because you are subscribed to the Google Groups "Elm Discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
