add-function's parameter's result is ignored so it may return multiple values safely

This commit is contained in:
Robby Findler 2017-01-28 10:50:03 -06:00
parent 2995cdfc2a
commit 0469b6fe94

View File

@ -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