Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Instead of `Identity` use `First`

Aperta
#11 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
haskell
Ambito
data

Direzione di ricerca

Start by locating the definitions and usages of Identity and First in the Haskell package, then inspect how the replacement patch is represented and combined. Confirm that First provides the required semigroup behavior and that all existing Identity-based paths use the replacement consistently; run the available test suite to verify the change.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Giving Identity meaning just seems wrong: it should just get the underlying patch instance if it does anything at all. Worse, one cannot define the associated semigroup. First however already has the semi-group we want, so we should instead use it as the "replacement" patch.

Lingua principale
Haskell
Stelle
17
Fork
16
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di reflex-frp/patch

Tutte le issue di reflex-frp/patch

Issue simili

Altre issue su Haskell

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.