Thanks so much for the help!

Could you give me an example of andMap? I thought about it for a bit and 
I'm not sure how I'd write that with object2. 


On Sunday, June 5, 2016 at 10:03:50 PM UTC-5, Max Goldstein wrote:
>
> 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.

Reply via email to