Does R.6RS or Chez Scheme v7.9.4 have a library function to check if the list contains duplicate elements?
Alternatively, is there any built-in functionality for sets (which do not allow duplicate elements)? So far, I have been able to find here here .
The problem is that it does not seem to be part of the Chez Scheme library. Although I could write my own version of this, I would rather use a well-known, tested and supported library function, especially considering how basic this operation is.
Thus, a simple “use of these built-in functions” or “no built-in library” will suffice. Thank!
source
share