On Friday, January 27, 2017 at 4:02:27 PM UTC, Alex Barry wrote:
>
> That should do the trick for you. You might want a better message name.
> Also, why discard the message?
>
Thanks. Just as a temporary measure whilst hacking at a new bit of code. I
just wanted to display something but ignore
The solution mentioned here from time to time (I have used it as well) is
to treat
text ""
as… well… as nothing.
On Fri, Jan 27, 2017 at 4:45 PM, 'Rupert Smith' via Elm Discuss <
elm-discuss@googlegroups.com> wrote:
> Having a dozy moment again...
>
> If I have some view that returns an Html
Type Msg
= ...
| NoOp msg
update msg model =
case msg of
NoOp _ -> ( model, Cmd.none )
That should do the trick for you. You might want a better message name.
Also, why discard the message?
On Fri, Jan 27, 2017 at 10:45 AM, 'Rupert Smith' via Elm Discuss <