The Bang `!` operator takes a list of commands to run. So if you don't want
to run a command, pass an empty list.

Zach
ᐧ

On Mon, Oct 3, 2016 at 1:50 PM, Magnus Rundberget <[email protected]> wrote:

> http://faq.elm-community.org/17.html#what-is-this---construct-in-the-code
>
> + when using it with an empty list it would return (model, Cmd.none).
>
> -magnus
>
>
>
> On Monday, 3 October 2016 12:43:41 UTC+2, António Ramos wrote:
>>
>> hello
>> sorry my simple question
>>         NoOp ->
>>             model ! []
>>
>> what does ![] mean in the above code?
>>
>> regards
>>
> --
> 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.
>



-- 
Zach Kessin
SquareTarget <http://squaretarget.rocks?utm_source=email-sig>
Twitter: @zkessin <https://twitter.com/zkessin>
Skype: zachkessin

-- 
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