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

Prevent unused variable warning in haskell-indentation #831

Merged
merged 1 commit into from
Aug 24, 2015

Conversation

kazu-yamamoto
Copy link
Contributor

The warning report system of the byte-compiler is not perfect.
It generates the warning if the third argument of dotimes is used.
Also, it does so if the first argument is not explicitly used in its body.
As workaround, this patch removes the third argument and put "_" to
the first argument.

Relating to #815 and #827.

The warning report system of the byte-compiler is not perfect.
It generates the warning if the third argument of dotimes is used.
Also, it does so if the first argument is not explicitly used in its body.
As workaround, this patch removes the third argument and put "_" to
the first argument.
@gracjan gracjan changed the title preventing the unused variable warning. Prevent the unused variable warning Aug 24, 2015
gracjan added a commit that referenced this pull request Aug 24, 2015
Prevent unused variable warning in haskell-indentation
@gracjan gracjan merged commit 083c113 into haskell:master Aug 24, 2015
@gracjan gracjan changed the title Prevent the unused variable warning Prevent unused variable warning in haskell-indentation Aug 24, 2015
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.

2 participants