Consider a function whose return value is of the form ( _, Cmd.none ).
Suppose given a list of commands, e.g. [foo, bar]. The function
makeRule described below replaces Cmd.none by Cmd.batch [ foo, bar ].
Consider a function whose return value is of the form ( _, Cmd.none ).
Suppose given a list of commands, e.g. [foo, bar]. The function
makeRule creates a rule that replaces Cmd.none by Cmd.batch [ foo, bar ].
For example, the rule
Consider a function whose return value is of the form
( _, Cmd.none ). Suppose given a list of commands, e.g.[foo, bar]. The functionmakeRulecreates a rule that replacesCmd.nonebyCmd.batch [ foo, bar ]. For example, the ruleresults in the following fix for function
A.B.init: