even -package:gtk

>>> 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
Make a new WAI EventSource application reading events from the given channel.
Make a new WAI EventSource application reading events from the given IO action.
Make a new WAI EventSource application with a handler that emits events.
Converts a ServerEvent to its wire representation as specified by the text/event-stream content type.
A channel of events generated by input processing. The input implementation must write its input events to this channel; the Vty event loop will read from this channel and provide the events to the user's application via nextEvent.