fixed mistakes in posn documentation; Closes PR 12755
This commit is contained in:
parent
78a2ea535b
commit
cc8e988346
|
@ -79,8 +79,8 @@
|
||||||
(void? (any -> boolean) "Determines if a value is void."))
|
(void? (any -> boolean) "Determines if a value is void."))
|
||||||
|
|
||||||
("Posns"
|
("Posns"
|
||||||
(set-posn-x! (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 number -> void) "Updates the x component of a posn."))
|
(set-posn-y! (posn any -> void) "Updates the y component of a posn."))
|
||||||
|
|
||||||
("Vectors"
|
("Vectors"
|
||||||
(vector (X ... -> (vector X ...)) "Constructs a vector.")
|
(vector (X ... -> (vector X ...)) "Constructs a vector.")
|
||||||
|
|
|
@ -315,10 +315,10 @@
|
||||||
|
|
||||||
("Posns"
|
("Posns"
|
||||||
(posn signature "Signature for posns.")
|
(posn signature "Signature for posns.")
|
||||||
(make-posn (number number -> posn) "Constructs a posn.")
|
(make-posn (any any -> posn) "Constructs a posn from two arbitrary values.")
|
||||||
(posn? (anything -> boolean) "Determines if its input is a posn.")
|
(posn? (any -> boolean) "Determines if its input is a posn.")
|
||||||
(posn-x (posn -> number) "Extracts the x component of a posn.")
|
(posn-x (posn -> any) "Extracts the x component of a posn.")
|
||||||
(posn-y (posn -> number) "Extracts the y component of a posn."))
|
(posn-y (posn -> any) "Extracts the y component of a posn."))
|
||||||
|
|
||||||
("Characters"
|
("Characters"
|
||||||
(char? (any -> boolean)
|
(char? (any -> boolean)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user