Skip to content
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

Iteratee interfaces? #62

Open
blake-regalia opened this issue Jul 6, 2021 · 1 comment
Open

Iteratee interfaces? #62

blake-regalia opened this issue Jul 6, 2021 · 1 comment

Comments

@blake-regalia
Copy link
Contributor

blake-regalia commented Jul 6, 2021

The callback parameters to some of the Dataset methods seem to be object interfaces that have named function members, test, map, and run. Was this a mistake, a limitation of WebIDL, or something else? To be clear, I believe the intent was to make these parameters function callbacks to align them with Array.prototype.* methods.
rdfjs/types#21

@bergos
Copy link
Member

bergos commented Jul 8, 2021

I wrote this aligned to the RDF Interfaces WebIDL. But I agree, it doesn't look right. I would be surprised if WebIDL doesn't cover this, so it's a mistake. We should find the correct WebIDL way of doing this and fix it.

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

No branches or pull requests

2 participants