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

store parsed definitions in `TaskInstance`

Aperta
#57 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
45/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
haskell
Ambito
backend

Direzione di ricerca

Start with the TaskInstance record and find where hiddenPredicates and visiblePredicates are stored as String and where consultString is called. Check how checkTask reads the predicates, since it will need the parsed form. Done means hiddenPredicates holds the consultString result, and visiblePredicates keeps two fields, one display string and one parsed program, with existing tests still passing.

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

Descrizione

Specifically hiddenPredicates need not be stored as String but instead it would make sense to store its consultString result.

And even for visiblePredicates it probably makes sense to "cache" its consultString result in the TaskInstance. That is, instead of one, there would be two fields in that record: one for the string as to be displayed to students as task text and one for the parsed program as to be used during checkTask.

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.