add-function's parameter's result is ignored so it may return multiple values safely
This commit is contained in:
parent
2995cdfc2a
commit
0469b6fe94
|
@ -32,7 +32,7 @@ Creates an empty keymap.
|
|||
}
|
||||
|
||||
@defmethod[(add-function [name string?]
|
||||
[func (any/c (is-a?/c event%) . -> . any/c)])
|
||||
[func (any/c (is-a?/c event%) . -> . any)])
|
||||
void?]{
|
||||
|
||||
Names a new function to handle events, called in response to
|
||||
|
|
Loading…
Reference in New Issue
Block a user