google / google/codeworld

Preview feature to view intermediate values

Open
#343 0 comments 0 reactions 0 assignees View on GitHub
discussion funblocks
Dominant language
Haskell
Stars
1.3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.