You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note that R7RS has introduced digit-value to convert a unicode character with the numeric property to a an integer value (as counted from the nearest "zero").
The documentation [1] suggests that
char-numeric?
is only true for digits:However, it returns true for unicode symbols that have the numeric property.
That behaviour matches R6RS, so I think the docs needs a little touch up.
However, it might be an idea to add a
char-digit?
.[1] https://scheme.com/tspl4/objects.html#./objects:s203
The text was updated successfully, but these errors were encountered: