haskell / haskell/haskell-language-server

Simplify `handleMaybeM` in `hls-plugin-api`

Open
#3,563 2 comments 0 reactions 0 assignees View on GitHub
status: in discussion type: enhancement
Dominant language
Haskell
Stars
3k
Forks
455
Avg merge
2d 19h
Merged PRs (30d)
11

Description

Currently, we have many use cases for `handleMaybeM` like the following, and it gradually being our regular mode of running action. I propose that can simplify it and just pass the action type itself. Like `handleMaybeM' TypeCheck nfp` to get the same effect as `handleMaybeM`.

image

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.