paf31 / purescript-behaviors

A simple push-pull FRP implementation
MIT License
135 stars 21 forks source link

FRP.Event modules in purescript-behaviors #41

Closed StijnRuts closed 5 years ago

StijnRuts commented 5 years ago

Since v7.0.0 FRP.Event got moved to purescript-event. But I find it confusing that some modules in the FRP.Event namespace still live in purescript-behaviors (namely: FRP.Event.AnimationFrame, FRP.Event.Keyboard, FRP.Event.Mouse, FRP.Event.Semantic). It seems to make more sense that they would also be in purescript-event.

paf31 commented 5 years ago

This is because I didn't want purescript-event to be tied to the browser at all. In fact, I might break it up more eventually so that purescript-behaviors is also more portable.

StijnRuts commented 5 years ago

Makes sense