Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

eval not working after certain haskell code? #4707

Closed
Labels
component: hls-eval-plugin type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..
@mdrslmr

Description

Hi,

I experienced, that some comments containing >>> are not evaluated in certain lines of my file. I tried to reproduce the behavior with this peace of code:

-- >>> 2 + 2
-- 4
myfunc :: [Int] -> String
-- >>> 2 + 2
-- 4
myfunc [] = ""
-- >>> 2 + 2
-- 4
myfunc [i] = show i
-- >>> 2 + 2
-- No "Refresh" or "Evaluate", no respone!
myfunc (i:is) = show i ++ ", " ++ myfunc is
-- >>> 2 + 2
-- No "Refresh" or "Evaluate", no respone!

I'm using archlinux, vim, coc, and haskell-language-server-wrapper.

I have first asked this question in coc.nvim, but it may be an issue with the hls?
neoclide/coc.nvim#5410

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: hls-eval-plugin type: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..

    Type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /