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

Implement array operations and optimizations #8

Open
int-index opened this issue Jan 15, 2015 · 1 comment
Open

Implement array operations and optimizations #8

int-index opened this issue Jan 15, 2015 · 1 comment
Assignees

Comments

@int-index
Copy link
Owner

As of now, the only way to get an array is to apply ReadLn to it (which is horribly incorrect). The correct solution would be to use the SetLength function. It is possible to translate SetLength(xs, n) into take n (xs ++ repeat undefined).

@int-index int-index self-assigned this Jan 16, 2015
@int-index
Copy link
Owner Author

There is a SetLength now, but it doesn't always work.

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

1 participant