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

Fix the Type::Function variant #11

Closed
Marwes opened this issue Oct 31, 2015 · 1 comment
Closed

Fix the Type::Function variant #11

Marwes opened this issue Oct 31, 2015 · 1 comment
Labels

Comments

@Marwes
Copy link
Member

Marwes commented Oct 31, 2015

Currently the Function variant has holds a Vec<Type> for function arguments but it is always assumed that the vector only has one element as functions are curried and are always treated as 1-argument functions.

The variant should either just hold one argument type, mirroring how the type checker sees it, or the code should take advantage of the Vec to store multiple arguments (possibly for efficency's sake).

@Marwes
Copy link
Member Author

Marwes commented Jul 29, 2016

Type::Function was removed in #55

@Marwes Marwes closed this as completed Jul 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant