fixed mistakes in posn documentation; Closes PR 12755

This commit is contained in:
Matthias Felleisen 2012-05-09 12:04:17 -04:00
parent 78a2ea535b
commit cc8e988346
2 changed files with 6 additions and 6 deletions

View File

@ -79,8 +79,8 @@
(void? (any -> boolean) "Determines if a value is void."))
("Posns"
(set-posn-x! (posn number -> void) "Updates the x component of a posn.")
(set-posn-y! (posn number -> void) "Updates the x component of a posn."))
(set-posn-x! (posn any -> void) "Updates the x component of a posn.")
(set-posn-y! (posn any -> void) "Updates the y component of a posn."))
("Vectors"
(vector (X ... -> (vector X ...)) "Constructs a vector.")

View File

@ -315,10 +315,10 @@
("Posns"
(posn signature "Signature for posns.")
(make-posn (number number -> posn) "Constructs a posn.")
(posn? (anything -> boolean) "Determines if its input is a posn.")
(posn-x (posn -> number) "Extracts the x component of a posn.")
(posn-y (posn -> number) "Extracts the y component of a posn."))
(make-posn (any any -> posn) "Constructs a posn from two arbitrary values.")
(posn? (any -> boolean) "Determines if its input is a posn.")
(posn-x (posn -> any) "Extracts the x component of a posn.")
(posn-y (posn -> any) "Extracts the y component of a posn."))
("Characters"
(char? (any -> boolean)