-
Notifications
You must be signed in to change notification settings - Fork 24
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
Overlapping instances found #9
Comments
It's not your fault, but yeah the dependencies are messed up - the @paf31 looks like you were right though, maybe we should have bumped |
Does this happen after |
But does it? 😄 |
Not for me 😉 - I ran the post-travis-test-everything locally after updating the libraries. |
Maybe a cache issue then? |
I ran
Still got the issue upon compiling. |
|
oh sure. Unfortunately, i end up with
Adding
to |
Ahh ok! I'll update |
If you bump your |
Now I run into issues with my other dependencies: Unable to find a suitable version for purescript-foreign, please choose one: I'll keep trying. Is there a standard way to resolve this? |
If I'm not mistaken, this is rather hopeless, or at least I lack overview on why and how packages depend on the older versions of Unable to find a suitable version for purescript-strings, please choose one: |
Any idea for a workaround? |
Ok, for the time being as an alternative, what happens if you stick to your original set of dependencies but add In the long run all the stuff you're depending on will need updating anyway, as the old version of |
That works for me. Thanks! |
Great, sorry you had such trouble with it! |
For some reason that fix doesn't work for me. I have purescript-prelude#0.1.1 in my bower.json, |
@Thimoteus |
I added purescript-strings#0.7.0 as a dependency but the problem persists. I'm out of ideas, shouldn't it not happen if I have purescript-strings before 0.7.0 and purescript-prelude 0.1.1? |
Oh, sorry, yep, prelude v0.1.1 should be fine with any version of strings. What do you get from |
:( Did you try removing the |
Ahh, that worked. I always forget about the output folder ... thanks! |
* first commit * Fix instances for record fields * Break modules up * Deriving Show (#5) * Initial work on deriving Show * Add test for Show * Remove import * Travis etc. * Data.Generic.Rep.Bounded (#6) * Data.Generic.Rep.Bounded Generic implementations of Prelude.Bounded class's top and bottom. * GenericBounded - don't support product types * GenericBounded - only support NoArguments * Update for PureScript 0.11 * Add Generic instance for Maybe (#9) * Add missing Bounded instances for Argument * Add GenericEnum and GenericBoundedEnum * Add enum tests, convert existing "tests" into assertions * Product instances in Bounded and Enum * Added GenericShowFields instances for NoConstructors and NoArguments (#20) * Added Eq and Show instances to NoArguments and NoConstructors * Added GenericShowFields * Removed Show, Eq * Cleanup * Removed NoConstructors Show instance * Remove Rec and Field & update package & bower symbols * Bump deps for compiler/0.12 * Remove symbols and fix operator fixity issue * Update dependencies, license * Added HeytingAlgebra, Semiring, Ring * Fix type annotation precedence in tests * Replace monomorphic proxies by Type.Proxy.Proxy (#44) * Move Enum file to Data.Enum.Generic * Update module name to match file name for Enum * Update module path for Bounded Generic * Move test file to Data.Enum folder and rename to Generic.purs * Remove code unrelated to Enum in test file * Update Generic X module names to Data.X.Generic * Rename `main` function in test file to testGenericEnum * Update module name in test file to match file name * Remove all files in repo that are unrelated to Enum Generic * Include Enum's Generic tests in repo's tests * Remove unused logShow Co-authored-by: Phil Freeman <[email protected]> Co-authored-by: Matthew Leon <[email protected]> Co-authored-by: Gary Burgess <[email protected]> Co-authored-by: Liam Goodacre <[email protected]> Co-authored-by: Jorge Acereda <[email protected]> Co-authored-by: Kristoffer Josefsson <[email protected]> Co-authored-by: Denis Stoyanov <[email protected]> Co-authored-by: Harry Garrood <[email protected]> Co-authored-by: Cyril <[email protected]>
Is the problem just this, or are my dependencies messed up?
Compiling Data.Enum
Error found:
Error in module Data.Enum:
Error in value declaration enumChar:
Error at /home/ruben/code/holger/hermit/bower_components/purescript-enums/src/Data/Enum.purs line 113, column 1 - line 121, column 1:
Overlapping instances found for Prelude.Bounded Prim.Char:
Data.Char.boundedChar
Prelude.boundedChar
The text was updated successfully, but these errors were encountered: