ndmitchell / ndmitchell/hoogle

Custom set support

Open
#341 3 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Currently all sets (set:stackage, set:haskell-platform, set:included-with-ghc) are hardcoded. We use Hoogle internally and ideally there would be a way to mark our internal packages as a set as well.

The biggest barrier to this (imo) is probably configuration, as this is a feature that probably would be unwieldy to configure via the command line and Hoogle as-is doesn't read from a configuration file.

I'd love to help with this but I'm not sure what you'd want regarding configuration, so I'd love to hear your thoughts.

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 locating where Hoogle's hardcoded sets are defined and where command-line options are handled; the issue names no files or tests. Define a configuration approach that can represent internal packages as a set, then verify that custom sets are loaded and searchable without making the command line unwieldy.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.