-
Notifications
You must be signed in to change notification settings - Fork 1
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
compatibility with stack and the miso stack ... stack? #1
Comments
i "fixed" it with two terrible hacks:
to
because apparently DecodeTarget doesn't have a Monoid instance. then, this project builds with the following stack.yaml
and all the bounds removed from the cabal file. |
What the version errors are telling you is that this project is intended to be used with GHCJS >= 8.0 and newer versions of diagrams that provide this Monoid instance. Since 7.10 is really old by now, I’d say it makes more sense that you try to upgrade rather than try to make this library compatible with 7.10 and older versions of diagrams. |
diagrams won't provide a monoid instance of DecodeTarget, though, because that comes from miso itself? |
Oh right, good catch! In that case I’m happy to accept a PR that fixes this (the patch you showed above looks totally fine). |
as a lover of diagrams, this is an awesome library and i'm very excited to try it :)
presently, miso builds nicely with stack
i'm trying to include this library as a dep of
sample-app
; i've tried changing theapp.cabal
there to have:and pointing the stack file at a clone of diagrams-miso like so:
but no such luck; i get:
it gets much further with
allow-newer: true
, but fails here:and stack-installing that binary doesn't really help (probably not surprisingly; i'm not even sure what that does here...)
thoughts?
would it be best to set up a stack environment in this repo first, maybe following the scheme of miso itself, or is there some better approach?
The text was updated successfully, but these errors were encountered: