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 are not type checked #18

Closed
melody-notpond opened this issue Mar 5, 2021 · 0 comments
Closed

lambda functions are not type checked #18

melody-notpond opened this issue Mar 5, 2021 · 0 comments

Comments

@melody-notpond
Copy link
Member

module Main
take_func f: Int -> Int = f 42
main = debug $ take_func $ lambda x: Int = x * x

this fails because lambda x: Int = x * x is never typechecked

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