Skip to content

Conversation

@Retropikzel
Copy link
Contributor

No description provided.

Copy link
Owner

@ashinn ashinn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Could you please mention both of these issues to the SRFI 64 list?

((test-runner-on-test-begin r) r)
(call-with-current-continuation
(lambda (k)
(with-exception-handler
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just use guard?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Part just preference, when looking for exception handling I think I first came accross that code in R7RS pdf and I havent used guards. Part I think there was an implementation that did not work with guards on the other SRFI-64 implementation I linked. But I cant remember anymore if that was 100% the case. So in short skill issue. Thats why I opened an issue instead of pull request right away.

I can switch it to use guards if you want?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or perhaps it's best that I do some testing, if the call/cc version works on most/all implementations I will use that. If the guard version works on all I will use that because it's shorter. I will also report to the mailing list. You can leave this pull request open until I report back. That way the reference implementation wont be different from what is in Chibi.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fix does not fix things completely. I will close this pull request, make on for the eq -> eq? fix and then make new on for complete fix after I have made pull request to srfi-64 reference implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants