hemanth / hemanth/functional-programming-jargon
Avoid confusing different meanings of the same word, eg Functor
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.7k
- Forks
- 1k
- PR merge metrics
- No merged PRs in 30d
Description
Even within FP there are multiple meanings of some terms, a good example is functor. You've covered one meaning and might not be aware of the other two meanings.
- In OCaml a functor is part of the parametric module system. I think that it means parametric module but I'm not certain, and I don't feel confident writing this section myself. https://realworldocaml.org/v1/en/html/functors.html
- In languages using DU types (Haskell, Mercury etc), Functor is another word for constructor.
Contributor guide
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
Start by reading the existing Functor entry and the linked Real World OCaml explanation. Check the meanings used in OCaml and in languages with algebraic data types, then update the glossary so the meanings are clearly distinguished and accurately described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell, ocaml
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100