-
Notifications
You must be signed in to change notification settings - Fork 6
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
Hackage Release / git tags #9
Comments
Thanks for asking. Until recently, I think this or diagrams-reflex (which is even less mature) are the preferred ways to use Diagrams within a GHCJS program. |
|
@bergey so then, do you reckon using Diagrams with GHCJS is even at least remotely suitable for production, as of currently? |
I'm waiting on ghcjs/ghcjs#452 before uploading to Hackage. |
@eallik At least remotely =) I think it's about as suitable as most of the GHCJS libraries I've seen, right now. |
I guess I will just have to let you know how it worked in production for me. :) |
@bergey ghcjs/ghcjs#452 got fixed, are there any other showstoppers? |
I tried adding
diagrams-ghcjs
to my.cabal
but it appears it cannot be auto-fetched as a dependency. Is that intentional? If yes, what is the best way to getdiagrams-ghcjs
installed into e.g. a Stack based project?Alternatively, does one even need this package to use Diagrams from a GHCJS based project and render directly onto an HTML5 Canvas from Diagrams code running as JavaScript? I've gotten the sense the diagrams-html5 and diagrams-canvas packages are more about sending Javascript from server to browser via AJAX and "piping" it to a canvas, not rendering to a canvas directly within a browser "process".
The text was updated successfully, but these errors were encountered: