haskell / haskell/haskell-language-server

Codelens eval should not interact with IO

Open
#461 4 comments 0 reactions 0 assignees View on GitHub
component: hls-eval-plugin type: enhancement
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

### Subject of the issue
`-- >>> getChar` actually returns a value. It seems to be reading the characters from the link between the server and editor. However it does not seem to cause any crashes or ruin the link, on my editor at least. `putStr` etc. might also possibly be doing something unexpected although it does not seem to produce any noticeable effects on the editor.

### Your environment
`neovim 4.4`, `coc.nvim`.

The codelens eval should perhaps perform some pre-processing and get rid of any IO first, just to be safe.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.