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

Failed to build elynx-tree #4

Closed
rvyhvn opened this issue Dec 12, 2024 · 3 comments
Closed

Failed to build elynx-tree #4

rvyhvn opened this issue Dec 12, 2024 · 3 comments

Comments

@rvyhvn
Copy link

rvyhvn commented Dec 12, 2024

src/ELynx/Tree/Rooted.hs:173:3: error:
‘liftA2’ is not a (visible) method of class ‘Applicative’
|
173 | liftA2 f ~(Node brX lbX tsX) ~ty@(Node brY lbY tsY) =
| ^^^^^^

src/ELynx/Tree/Rooted.hs:458:3: error:
‘liftA2’ is not a (visible) method of class ‘Applicative’
|
458 | liftA2 f (BranchTree ~(Node brX lbX tsX)) ty@(BranchTree ~(Node brY lbY tsY)) =
| ^^^^^^

src/ELynx/Tree/Rooted.hs:521:3: error:
‘liftA2’ is not a (visible) method of class ‘Applicative’
|
521 | liftA2 f (ZipTree ~(Node brX lbX tsX)) (ZipTree ~(Node brY lbY tsY)) =
| ^^^^^^

src/ELynx/Tree/Rooted.hs:583:3: error:
‘liftA2’ is not a (visible) method of class ‘Applicative’
|
583 | liftA2 f (ZipBranchTree ~(Node brX lbX tsX)) (ZipBranchTree ~(Node brY lbY tsY)) =
| ^^^^^^

@dschrempf
Copy link
Owner

Hi! Thanks for your interest in elynx-tree! Could you please be a bit more specific? Which version of GHC are you using? Are you compiling with stack or cabal?

@rvyhvn
Copy link
Author

rvyhvn commented Dec 12, 2024

my bad, sorry. i didn't use ghc with the LTS version. i was using ghc version 9.4.8, now it works with cabal build elynx. issue closed.

@rvyhvn rvyhvn closed this as completed Dec 12, 2024
@dschrempf
Copy link
Owner

Thanks!

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

2 participants