ndmitchell / ndmitchell/hoogle

Support search for type instances

Open
#387 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Haskell
Stars
803
Forks
152
PR merge metrics
No merged PRs in 30d

Description

Search input:
instance Serialise Text

Current result:
Nothing

Expected result:
cereal-text::Data.Serialize.Text

Context: automating type instance discovery with haskell-language-server (this is a blocker for the implementation)
https://github.com/haskell/haskell-language-server/issues/2957

What needs to be done to make hoogle to do that?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Hoogle search for instance Serialise Text and compare it with the expected cereal-text::Data.Serialize.Text result. Trace the search and instance-discovery entry points in the Hoogle repository, then check the linked haskell-language-server issue for the required behavior. Done means the query returns the expected type instance without regressing existing searches.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.