google / google/codeworld

Preview feature to view intermediate values

Aperta
#343 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
discussion funblocks
Lingua principale
Haskell
Stelle
1.3k
Fork
201
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Would be great if you could preview a block, meaning: show a depiction of its value.

The depiction would depend on the type, and its dependence on any local variables. If it's a picture, color, number, or text, just show it. If it's a list or tuple, provide a UI for flipping through the elements. If it's a function, or depends on local variables, then things get harder - we'd need to provide a way to give values for these local variables. I imagine it would be okay if, in many cases, we just gave up and said "No preview available for this type."

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.