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

Specialize checker types to express ClauseFn won't be passed as argument

Aperta
#59 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Start by locating the checker functions and the ClauseFn constructor referenced in the discussion, then inspect how student programs invoke those checkers. The issue proposes changing checker signatures to take the left and right sides separately; confirm which checkers have the unused case and update their types and call sites consistently. Done when the checkers no longer need that case and the project’s existing tests pass.

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

Descrizione

Do all checkers have this nothing-to-do-case for the ClauseFn constructor that anyway can never occur in a student program?

Wouldn’t it make more sense then to specialize those functions’ types to always explicitly take the lhs and the rhs as separate arguments, instead of Clause lhs rhs?

Originally posted by @jvoigtlaender in https://github.com/fmidue/prolog-programming-task/pull/54#discussion_r4241879995

Lingua principale
Haskell
Stelle
0
Fork
1
Merge medio
1g 13h
PR unite (30g)
18

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna 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 fmidue/prolog-programming-task

Tutte le issue di fmidue/prolog-programming-task

Issue simili

Altre issue su Haskell

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.