We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This program type checks but wont work for the latter parts of the compiler
add : Int -> Int -> Int add x y = x + y apply : forall a. (a -> a) -> a -> a apply f x = f x plus4 : Int plus4 = apply (add 4) 2
A new module needs to be created that expands (add 4) to (\x. add 4 x). This module is after the type checker and before the lambda lifter.
(add 4)
(\x. add 4 x)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This program type checks but wont work for the latter parts of the compiler
A new module needs to be created that expands
(add 4)
to(\x. add 4 x)
.This module is after the type checker and before the lambda lifter.
The text was updated successfully, but these errors were encountered: