tsurucapital/euphoria — pull request #8 by maoe (2012-08-16 01:20:47+00:00)
Title: Remove initial value from withPrevE

I've removed the initial value `init` in `withPrevE init ev`. We can ignore the initial event with `dropE` but I think most of the time we don't really need `init`. If we still want to fire the initial event, we can use `onCreation` to create it, then mappend it to `ev` (see `test_withPrevEWithInitVal` in Test.Event).

Regarding `differentE`, this patch will [change it not to fire the initial event](https://github.com/maoe/euphoria/commit/e3e5cf06281988a609ac477241296d90c0cbb8a6#L1L67). I'm not sure if it makes more sence to fire the initial event. But I can modify it to fire the event as the previous one did if we want. Any opinions?