Skip to content

Commit

Permalink
Merge pull request bitc#7 from ranjitjhala/master
Browse files Browse the repository at this point in the history
Update README and bug fix
  • Loading branch information
schell committed Jun 23, 2015
2 parents 8737fae + 5f07342 commit 21f5ade
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,10 @@ syntax checker for Emacs, and there is a [flycheck-hdevtools][6] checker availab

### Atom - [linter][8] ###

There is a [linter-hdevtools][8] package for using `hdevtools` to quickly
find type errors in Haskell files in the the [Atom][7] editor.
There are *two* packages for the [Atom](https://atom.io) editor:

+ [linter-hdevtools][8] quickly finds and underlines type errors in Haskell files,
+ [hover-tooltips-hdevtools][9] displays the types of identifiers under the mouse.

### Manual Editor Integration for any Editor ###

Expand Down Expand Up @@ -200,3 +202,5 @@ client-server architecture it is much faster.
[6]: https://github.com/flycheck/flycheck-hdevtools
[7]: https://atom.io
[8]: https://atom.io/packages/linter-hdevtools
[9]: https://atom.io/packages/hover-tooltips-hdevtools

2 changes: 1 addition & 1 deletion src/Client.hs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import Util (readMaybe)

connect :: FilePath -> IO Handle
connect sock = do
connectTo "" (UnixSocket sock)
connectTo "" (UnixSocket sock)

getServerStatus :: FilePath -> IO ()
getServerStatus sock = do
Expand Down
2 changes: 1 addition & 1 deletion src/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pathArg' args@(Info {}) = path args
pathArg' args@(Type {}) = path args

pathArg :: HDevTools -> Maybe String
pathArg args = case path args of
pathArg args = case pathArg' args of
Just x -> Just x
Nothing -> fileArg args

Expand Down

0 comments on commit 21f5ade

Please sign in to comment.