even -package:wai-extra

>>> even 2
True
Check if value is even
>>> even (4 :: Unsigned 4)
True
Number is even
Apply to even-numbered children
A Predicate ensuring that the value is even.
>>> isRight (refine @Even @Int 32)
True
>>> isLeft (refine @Even @Int 33)
True
even
Query a bounding box of the region that needs to be updated.
Query the mouse buttons.
Query why a seleciton changed its owner.
Retrieve the (x,y) coordinates of the mouse.
Query if the window has the focus or is an inferior window.
Get the mode of the mouse cursor crossing a window.
Query if a window gained focus (True) or lost the focus (False).
Get the new window that owns the grab or Nothing if the window is not part of this application.
The hardware key code.