We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some procedures like:
reverse
list->array
length
break the loop on cycles (they return 2 elements with this code):
(define x (let ((x '(1 2 3))) (set-cdr! (cddr x) x) x)) (length x) ;; ==> 2 (list->array x) ;; ==> #(1 2) (reverse x) ;; ==> (2 1)
They should throw an exception that the argument is not a list, similar to map:
(map - x) ;; map: argument 1 is not a list
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Some procedures like:
reverse
list->array
length
break the loop on cycles (they return 2 elements with this code):
They should throw an exception that the argument is not a list, similar to map:
The text was updated successfully, but these errors were encountered: