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

Update examples to use new JS backend syntax #740

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

sevanspowell
Copy link

- Javascript conventions have changed slightly with the GHC Javascript
  backend (from GHCJS).
  - See https://github.com/ghcjs/ghcjs-base/pull/135/files.
- Update foreign imports to match these new conventions, so compiling with GHC
  Javascript backend works.
- Update canvas2d to work with new JS backend syntax.
@dmjio
Copy link
Owner

dmjio commented May 3, 2024

Thanks for doing this, in order to ensure it works we'll need to update miso's nix scripts to use the new ghcjs.

@stepcut has pointed out that nix-shell -p 'pkgsCross.ghcjs.haskell.packages.ghcHEAD.ghcWithPackages (p: [ ])' is working now on nixpkgs-unstable, but it seems a lot of dependencies are still broken

@sevanspowell
Copy link
Author

Thanks for your work on the project!

I'll do my best to help out with that process.

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 this pull request may close these issues.

2 participants