"The recommendation is to keep Models and Msg as pure data." 

Sound advice. I think that one trouble with passing functions around in 
messages is that as they get more complex you stand a bigger & bigger 
chance of closing over some other state and then you're back to the problem 
of passing stale chunks of state around in your messages and it would be 
enormously tricky to track down. 
  

-- 
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 elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to