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."))
|
||||
|
||||
("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.")
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user