Searching for instances
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
Research direction
No files, tests, or entry points are named. Start by tracing the existing instance search behavior and reviewing the two proposed approaches; done means implementing a decided way to reduce noise in normal results while still making relevant instances discoverable.
Written by the indexing model from the issue text.
Description
Currently instances only appear when searching by name. This is not ideal because instance names are very rarely important; if you want to know about an instance / whether an instance exists, it makes much more sense search for either the class, or one of the types occurring in it. Additionally, having instances appear when searching by name adds quite a lot of noise to the results.
@justinwoo, @joneshf and I discussed on Slack, and came up with a couple of proposals:
- Remove instances from normal search results, and instead provide some way of opting-in to searching for instances; perhaps with a button or a new search syntax like "instances: Array" or "instances: Foldable" to search for instances that
Arrayhas or instances ofFoldable. - Provide a link under types and classes which takes you straight to the instance search for that type or class, making it easy to find other instances in addition to those defined in the module.
- Dominant language
- Haskell
- Stars
- 174
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from purescript/pursuit
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
purescript/pursuit#476 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
purescript/pursuit#474 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
purescript/pursuit#463 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
purescript/pursuit#438 · 7 comments · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
purescript/pursuit#433 · 1 comment · 1 reaction ·
All issues in purescript/pursuit
Similar issues
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
koalaman/shellcheck#3539 ·
-
time-manager-0.4.0 Openfailure: bounds
Difficulty 1/5 Under an hour Newbie friendliness 72/100
commercialhaskell/stackage#8122 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
objectionary/phino#1350 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100