Use backtick syntax for `on` in haddocks?
ggreif opened this issue · comments
In this line one could advertise a cuter syntax for on
:
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:
canvas `on` buttonPressEvent $ canvasMouseHandler