Right, it needs to be lowercase msg, because the function will determine the message type.
You can use core's objectN if N ≤ 8. See here <http://package.elm-lang.org/packages/elm-lang/core/4.0.1/Json-Decode#object3> for an example. Otherwise you need to do what you're doing already. If you don't like the symbol, you can use "andMap", as in "map, andMap, andMap...", and you can also define it as *object2 (<|)* for reasons that are fascinating but tangential to building webapps. -- 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.
