purescript / purescript/pursuit
Search for unknown number of parameters
Nobody has claimed this yet.
- Dominant language
- Haskell
- Stars
- 174
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
Let's say I looking for any function that consumes a Seed, but I don't know what else I may need to provide for the zero or more additional arguments.
An example of a desired result is:
variant :: forall a. Seed -> Gen a -> Gen a
But variant is not found by:
Seed -> _
Seed -> a
Or even:
Seed -> _ -> _
Seed -> a -> b
Seed -> f a -> f a
This is the most generic option that works:
Seed -> _ a -> _ a
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.
Research direction
No files, tests, or entry points are named in the issue. Start by locating the search query parser and tests for function-type matching; add support for queries that match a known leading parameter followed by zero or more additional parameters, and verify the Seed -> _ example finds variant.
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