ยค quitIdF
Terminating the program
Types
quitIdF :: (
ho
-> Bool) ->
F
ho
ho
Synopsis
quitIdF p
Description
quitIdF
is an identity fudget that terminates the program if a message satistfying a given predicate is received.
Input
any type
Output
the input passed through unchanged
Arguments
p
::
ho
-> Bool
The predicate that tests the input. An input
x
is passed through unchanged, if
p x
is
False
.
See Also
Related fudgets:
quitButtonF
,
buttonF
,
quitF
.