Re: [elm-discuss] This may be a problem of thinking, instead of implementing

2016-05-16 Thread Peter Damoc
Part of Elm philosophy is to get away from this kind of side-effects. Also, I don't think Elm has enough OOP infrastructure to implement what you want here. On Tue, May 17, 2016 at 5:28 AM, Nandiin Bao wrote: > Yes, exactly. And I want an elegant implementation. > > 在

Re: [elm-discuss] This may be a problem of thinking, instead of implementing

2016-05-16 Thread Peter Damoc
Hi Nandiin, It is not clear for me what are you actually trying to accomplish here. I understand that you want the synchronization but it is not clear what would a satisfying solution would be. I somehow think you might want side-effects where by side-effects I mean have a piece of state (the