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

Error whilst cabal installing: []' of kind * -> *' is not fully applied #3

Closed
Duta opened this issue May 19, 2015 · 7 comments
Closed

Comments

@Duta
Copy link

Duta commented May 19, 2015

When running cabal install first-class-patterns-0.3.2.1, I get the error:

Data\Pattern\Base\Difference.hs:36:44:
    `[]' of kind `* -> *' is not fully applied
    In the kind `[] -> *'
    In an expression type signature: forall (t :: [] -> *). D t []
    In the expression:
        ghc-prim:GHC.Prim.coerce (zeroD :: CoerceD t []) ::
          forall (t :: [] -> *). D t []

I also get this with first-class-patterns-{0.3.2,0.3.1,0.3.0}. With 0.2.0 I get dependency issues, and with 0.1.0 I get The INLINE pragma for default method 'f' lacks an accompanying binding (where f is in {closure, assoc, rightIdent}).

I'd love to install and use this, but I can't :( Is this a known issue? (/how do I get past it?)

@byorgey
Copy link
Collaborator

byorgey commented May 20, 2015

What version of GHC are you using? I'm guessing 7.10?

@Duta
Copy link
Author

Duta commented May 22, 2015

7.8.3. Might that be the problem?

@byorgey
Copy link
Collaborator

byorgey commented May 22, 2015

Hmm, I would expect it to work on 7.8.3. I will try to look into it, though I may not be able to get to it for a while. I am not really using first-class-patterns any more.

@Duta
Copy link
Author

Duta commented May 22, 2015

That's fair enough. I though I'd ask, at least. What're you using in preference? Regular patterns, or something else?

@byorgey
Copy link
Collaborator

byorgey commented May 22, 2015

Yes, I just do regular pattern matching. The ideas embodied in this
library are super cool, and long ago I had some ideas of how I might use
it, which is why I took over maintaining it. But in practice I find that I
don't really use it. Though perhaps if I thought harder I could find
places where it would be useful, and I haven't used it just because I am so
used to the alternative that I didn't really think of it.

On Fri, May 22, 2015 at 10:10 AM Bertie Wheen notifications@github.com
wrote:

That's fair enough. I though I'd ask, at least. What're you using in
preference? Regular patterns, or something else?


Reply to this email directly or view it on GitHub
#3 (comment)
.

@byorgey
Copy link
Collaborator

byorgey commented May 28, 2015

Uploaded to hackage as 0.3.2.2. It builds for me, let me know how it works.

@Duta
Copy link
Author

Duta commented May 29, 2015

Installed perfectly. 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