ndmitchell / ndmitchell/hlint

hs-lint.el: HLint exited abnormally with code 1

Open
#490 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

emacs
Dominant language
Haskell
Stars
1.6k
Forks
210
PR merge metrics
No merged PRs in 30d

Description

I run C-c l on main = (print "hi") and get:

-*- mode: hs-lint; default-directory: "c:/Users/Gurkenglas/Haskell/" -*-
HLint started at Tue May 15 21:56:20

hlint "c:/Users/Gurkenglas/Haskell/dicecombinereview.hs"
c:/Users/Gurkenglas/Haskell/dicecombinereview.hs:1:8: Suggestion: Redundant bracket
Found:
  (print "hi")
Why not:
  print "hi"

1 hint

HLint exited abnormally with code 1 at Tue May 15 21:56:20

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in hs-lint.el and reproduce the reported C-c l run using the HLint command and sample Haskell source shown in the issue. Trace how the HLint process exit status is reported when it finds a suggestion; done means the status is reported consistently with the lint result.

Written by the indexing model from the issue text.

Assessment

Tech stack
emacs, haskell
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.