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

Smarter overloading with iterables #75

Open
Mego opened this issue Oct 31, 2016 · 3 comments
Open

Smarter overloading with iterables #75

Mego opened this issue Oct 31, 2016 · 3 comments
Assignees

Comments

@Mego
Copy link
Owner

Mego commented Oct 31, 2016

  • If at first we don't succeed, try vectorizing
  • Other stuff?
@Mego Mego self-assigned this Oct 31, 2016
@evlrobinson
Copy link
Collaborator

evlrobinson commented Nov 22, 2016

To that end, I'll start a list of commands that don't work with iterables.

  1. (permutations) doesn't work with H (head), t (tail), í (index)
  2. Z (zip) doesn't work with S (sort)

@Mego
Copy link
Owner Author

Mego commented Mar 3, 2017

Monads

Mego added a commit that referenced this issue Mar 5, 2017
Mego added a commit that referenced this issue Mar 5, 2017
@Mego
Copy link
Owner Author

Mego commented Mar 5, 2017

The linked commit fixes the specific issues mentioned in @sherlock9's comment. As further issues come up, they will be fixed similarly. The issue is caused by commands that need to evaluate an entire iterable to work not properly handling generators. This will be fully fixed by a large-scale rewrite that is in progress, that uses monadic types internally to handling the various overloads of commands and apply them correctly to the various possible types that might be present.

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

No branches or pull requests

2 participants