optics-dev / optics-dev/Monocle

Add documentation about Apply optics

Open
#452 0 comments 0 reactions 0 assignees View on GitHub

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 a instead of lens.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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.