Open ggreif opened 5 years ago
In this line one could advertise a cuter syntax for on:
on
https://github.com/HeinrichApfelmus/threepenny-gui/blob/f5413b36c95f1abeaca974d7b890b75a738ce554/src/Graphics/UI/Threepenny/Core.hs#L240
namely
-- > click `on` element $ \_ -> ...
I've been doing a bit of GTK programming recently; in the gtk3 library they do this but the type of on is flipped to get an even more evocative syntax:
gtk3
canvas `on` buttonPressEvent $ canvasMouseHandler
In this line one could advertise a cuter syntax for
on
:https://github.com/HeinrichApfelmus/threepenny-gui/blob/f5413b36c95f1abeaca974d7b890b75a738ce554/src/Graphics/UI/Threepenny/Core.hs#L240
namely