haskell / haskell/haskell-language-server
Inline function at specific use site
Open
component: hls-retrie-plugin
level: easy
type: enhancement
- Dominant language
- Haskell
- Stars
- 3k
- Forks
- 455
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 12
Description
I've noticed that quite often when refactoring code it ends up with some function being used only in one place or body of a function being simplified so it no longer makes sense to have it separate. For both cases I usually inline a function which is completely mechanical process, thanks to referential transparency in Haskell.
Could we have a "inline function" code action which will basically just replaces function application with function's body?
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.