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

Problem with typing in Haskell #568

Closed
BrentBlanckaert opened this issue Nov 30, 2024 · 1 comment
Closed

Problem with typing in Haskell #568

BrentBlanckaert opened this issue Nov 30, 2024 · 1 comment

Comments

@BrentBlanckaert
Copy link
Collaborator

BrentBlanckaert commented Nov 30, 2024

When I tried to do the exercise Heir with Haskell, I got the following error:

> heir 8 :: Int 10 :: Int
Execution0.hs:57:54: error: [GHC-58481] parse error on input ‘::’
   |
56 |             r <- return (Submission.heir 8 :: Int 10 :: Int)
   |                                                      ^^
[1 of 6] Compiling EvaluationUtils  ( EvaluationUtils.hs, EvaluationUtils.o )
[2 of 6] Compiling Submission       ( <code>, Submission.o )
[3 of 6] Compiling Values           ( Values.hs, Values.o )
[4 of 6] Compiling Execution0       ( Execution0.hs, Execution0.o )

This has to do with the way the arguments are typed. In the generation.py file of Haskell, everything should be put in brackets. Locally, This fixes the issue for me.

@BrentBlanckaert
Copy link
Collaborator Author

BrentBlanckaert commented Dec 4, 2024

This seems to be a similar problem to #541.

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

Successfully merging a pull request may close this issue.

1 participant