At Sun, 24 Nov 2019 14:30:23 -0800 (PST), Jonathan Simpson wrote:
> 
> 
> The documentation for char=? leaves the impression that it takes a minimum 
> of two arguments:
> 
> 
> https://docs.racket-lang.org/reference/characters.html?q=expand#%28def._%28%28q
> uote._~23~25kernel%29._char~3d~3f%29%29
> 

In the documentation, "..." means "zero or more". So,

  (char=? char1 char2 ...)

means that `char=?` takes at least one argument.

Before version 7, the "..." in this place in documentation was a
"...+", which means "one or more" in the documentation's notation.


The most immediate reason for the change in v7.0 is pretty shallow:
`char=?` and similar functions in Chez Scheme allow a single argument,
and adjusting Racket's functions was the easiest way to resolve a
mismatch between traditional Racket and Racket on Chez Scheme.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/5ddbbeae.1c69fb81.8926a.2d04SMTPIN_ADDED_MISSING%40gmr-mx.google.com.

Reply via email to