haskell / haskell/haskell-language-server

Feature request: Multiline input for eval plugin

Open
#1,817 4 comments 12 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

I have tried to get multiline inputs working for the eval plugin however to no avail. What I would like is support for the following syntax:

```haskell
>>> tree = :{ Node 9 [
>>> Leaf 5,
>>> Leaft 12
>>> ] :}
-- or
>>> :set +m
>>> tree = Node 9 [
>>> Leaf 5,
>>> Leaft 12
>>> ]
```

However this always results in an exception like `parse error on input ‘:’` and `parse error (possibly incorrect indentation or mismatched brackets)` respectively.

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.