-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
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
Guile solution using standard lib is failing to validate #62
Comments
Hello. Thanks for opening an issue on Exercism 🙂 At Exercism we use our Community Forum, not GitHub issues, as the primary place for discussion. That allows maintainers and contributors from across Exercism's ecosystem to discuss your problems/ideas/suggestions without them having to subscribe to hundreds of repositories. This issue will be automatically closed. Please use this link to copy your GitHub Issue into a new topic on the forum, where we look forward to chatting with you! If you're interested in learning more about this auto-responder, please read this blog post. |
@exercism-bot The link you provided is broken. |
@iHiD I can understand the reasoning in the blogpost, but the link your bot provided gives a 500 error, and 0 indication of how to proceed. This incredibly frustrating. Especially, because the documentation on the website itself directed me to open an issue here:
|
Yes, by default most test-runners include no libraries or only "the most popular ones", because test-runners do not have access to the internet and thus need to be prebuild, whatever that means in the language of choice. See: exercism/rust-test-runner#27 for some context. For example on JavaScript and TypeScript, pulling a package from a registry in a solution is not allowed, by design. I know that for Scheme, the import works, but the modules do not. You should not need it to solve this exercise. Spoiler: passing solution(import (rnrs))
(define (square n)
(when (or (< n 1) (> n 64))
(error 'square "out of range" n))
(ash 1 (1- n)))
(define total
(1- (* 2 (square 64)))) Now, if you @4censord want to advocate to support those modules, please open a topic on the forum using the provided link so it can be discussed.
The two links in the automated post don't 500 for me, it may have been a temporary issue? If the following does not work, you can go to https://forum.exercism.org instead. |
Hey, sorry for not replying I fell ill on vacation, but now i'm back and responsive again.
Hm, my understanding was that the If this would have been any random library, i would not have complained.
This link consistently fails for me. I have no idea what i am doing wrong, it happens on different devices/browsers/networks. rev-small.mp4Sadly, there seems no logs on my side, and i havent found a corelation id either. |
I'm currently doing the scheme track to improve with guile.
During scheme/grains, three of the tests expect an exeption to be thrown.
Reading the documentation for guile about exepctions (https://www.gnu.org/software/guile/manual/html_node/Exception-Objects.html), has lead me to this solution:
This works perfeclty fine locally, but fails in the test runner with
So i assume that these libraries are missing on the test runner?
Is that expected?
Is there maybe some switch i need to set to get access to them?
System desctiption
`Linux tuxbook 6.12.6-arch1-1 #1 SMP PREEMPT_DYNAMIC Thu, 19 Dec 2024 21:29:01 +0000 x86_64 GNU/Linux`, on arch linux with `guile (GNU Guile) 3.0.10`The text was updated successfully, but these errors were encountered: