Think of it in terms of the type signature, in your case viewValidation : Model -> Html msg
You are giving this function a Model, and every branch of this function must return a Html msg, nothing more, nothing less. The function is a black box - it expects a Model as input. It will return an Html Msg as output. Nothing else happens. That is the functional way. -- 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.
