optics-dev / optics-dev/Monocle
Add documentation about Apply optics
Open
Nobody has claimed this yet.
documentation
- Dominant language
- Scala
- Stars
- 1.7k
- Forks
- 207
- Avg merge
- 7h 59m
- Merged PRs (30d)
- 5
Description
Idea of content:
- description: partially applied optics (
ApplyLens[S, A] == (S + Lens[S, A]),ApplyIso[S, A] == (S, Iso[S, A]), etc) - allow to use optics as an infix operator:
s lens set ainstead oflens.set(a)(s) - help type inference and implicit resolution
- example of apply lens syntax
person.lens(_.address.streeName).get
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
Start by locating the existing Monocle documentation for optics and the Apply syntax. Cover partially applied optics, infix usage, type inference and implicit resolution, and the person.lens(_.address.streeName).get example. Done means these topics are documented accurately with a clear, working example.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- scala
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100