haskell / haskell/haskell-mode

Unify haskell-ident functions

Open
#1,227 1 comment 0 reactions 1 assignee Claimed by @geraldus View on GitHub
Dominant language
Emacs Lisp
Stars
1.4k
Forks
354
Avg merge
5d 10h
Merged PRs (30d)
2

Description

Merge functionality of `haskell-ident-pos-at-point`, `haskell-ident-at-point`, and `haskell-spanable-pos-at-point` into one function. This function should return a cons cell of form `(BOUNDARIES . VALUE)`, where `VALUE` is a string representing found identifier, and `BOUNDARIES` is a cons cell of form `(START . END)` representing left and right bounds of identifier. This function should take optional argument to include surrounding backticks for normal identifiers and parentheses for operators (if they present).
- [ ] merge functionality in single function
- [ ] update all dependent code
- [ ] deprecate old functions

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.