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

Lambda functions #7

Open
vegard opened this issue Jul 29, 2017 · 0 comments
Open

Lambda functions #7

vegard opened this issue Jul 29, 2017 · 0 comments

Comments

@vegard
Copy link
Owner

vegard commented Jul 29, 2017

The difference between fun and lambda would be that lambda always creates a new function type and that the return type is always assumed to be the type of the compiled body. (If you want to create multiple lambdas of the same type, you should just call fun and use the result as your lambda.)

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