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

update and updates type variable swap #1687

Open
weaversa opened this issue Jun 17, 2024 · 0 comments
Open

update and updates type variable swap #1687

weaversa opened this issue Jun 17, 2024 · 0 comments

Comments

@weaversa
Copy link
Collaborator

The type of update is:

update : {n, a, ix} (Integral ix) => [n]a -> ix -> a -> [n]a

The type of updates is:

updates : {n, k, ix, a} (Integral ix, fin k) => [n]a -> [k]ix -> [k]a -> [n]a

Suggestion: change update so that ix and a occur in the same order in the type lists of both functions.

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

1 participant