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

Define haskell-package struct's slots #1083

Merged
merged 1 commit into from
Jan 15, 2016
Merged

Define haskell-package struct's slots #1083

merged 1 commit into from
Jan 15, 2016

Conversation

fice-t
Copy link
Contributor

@fice-t fice-t commented Jan 14, 2016

haskell-package's slots were not defined, and that was creating a
byte-compiler warning that the lexical variable pkg was unused.

I made this commit just to shut up the byte-compiler (honestly, I just started using this mode).

As an aside, am I missing something, or is the struct not actually used? The haskell-package-get* functions use haskell-package-parse to create the struct, but nothing seems to actually use the result (I'm not sure how something could without the slots defined).

haskell-package's slots were not defined, and that was creating a
byte-compiler warning that the lexical variable `pkg' was unused.
@bergey
Copy link
Contributor

bergey commented Jan 15, 2016

Your change makes sense to me.

I think you are right about the struct. I suspect the whole module is unfinished, meant to be used for something unwritten. I'm not sure, though.

gracjan added a commit that referenced this pull request Jan 15, 2016
Define haskell-package struct's slots
@gracjan gracjan merged commit dbe0ef6 into haskell:master Jan 15, 2016
@gracjan
Copy link
Contributor

gracjan commented Jan 15, 2016 via email

@gracjan
Copy link
Contributor

gracjan commented Feb 4, 2016

@fice-t, I appreaciated your last contribution to haskell-mode. Can you help out a little more? For example issue #669 would help a lot. What do you think?

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.

3 participants