ndmitchell / ndmitchell/hoogle

Applicative search strategy

Open
#269 1 comment 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

The special handling of (->) means that we can't easily find functions for queries that need to use the a -> functor. See here, for example: https://stackoverflow.com/questions/47779818/is-there-a-standard-function-that-computes-f-x-g-x

A special case like what we do for Maybe-returning query variants might do pretty well.

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 examining Hoogle's special handling of the (-e) functor and the analogous handling for Maybe-returning query variants. Reproduce the linked Stack Overflow search case and compare current results. Done means queries requiring the a -> functor can find applicable functions without breaking existing query behavior.

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
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.