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

Support for variable-arity generics #48

Closed
sstrickl opened this issue Oct 2, 2012 · 2 comments
Closed

Support for variable-arity generics #48

sstrickl opened this issue Oct 2, 2012 · 2 comments

Comments

@sstrickl
Copy link
Member

sstrickl commented Oct 2, 2012

While we can do Enumerators over a single type initially to get support rolling, I imagine that for Enumerators (and things like Tuples), in the long run we eventually want support for something akin to Variable-Arity Generic Interfaces.

There's also Practical Variable-Arity Polymorphism, which would be useful if there are any block-taking methods that work like Scheme's map. (That is, you take a block and an arbitrary number of collections, where the arity of the block is related to the number of collections and the type of each block argument is the same as the corresponding collection element type. The latter paper shows off such examples.)

@jtoman
Copy link
Member

jtoman commented Oct 2, 2012

This seems to be a duplicate of #12. Can you merge the above description into that ticket?

@sstrickl
Copy link
Member Author

sstrickl commented Oct 2, 2012

Sorry, will do!

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