ndmitchell / ndmitchell/hoogle

5th version fails to find mapM(traverse) by type signature

Open
#218 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I was a bit surprised that new hoogle fails to find correct function for (a -> m b) -> t a -> m (t b) while previous version works correctly.
I checked results from https://www.haskell.org/hoogle/?hoogle=(a+-%3E+m+b)+-%3E+t+a+-%3E+m+(t+b) (having traverse and mapM as first matches) vs results from https://www.haskell.org/hoogle/?hoogle=(a+-%3E+m+b)+-%3E+t+a+-%3E+m+(t+b) (no traverse or mapM at all)
Is it some expected behavior of 5th version maybe?

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

Reproduce the type-signature query in the Hoogle URL from the issue and compare its results with the reported previous-version behavior. Then trace the search path responsible for type-signature matching; done means the expected behavior is established and the query's handling of traverse and mapM is corrected or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell
Domain
search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.