-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add expression attribute for repl display #1567
Comments
I don't think an attribute is the right way to do this. What about a |
That could probably also be useful in futhark literate. |
Yeah, now that I think about it, maybe a general |
You're right. I've played with a prototype and a command makes more sense. |
Instead of
With no specifier it will print in the default manner for the type, but with a specifier we can force e.g. arrays to be interpreted as UTF-8 strings. |
First draft of print command for REPL diku-dk#1567
I like the Futhark repl, but I'm missing formatting while printing the values. I propose adding some basic formatting, which can come handy while debugging a program, by adding expression attributes that will be interpreted by the repl to display expressions.
Here are some examples I'd like to have.
The text was updated successfully, but these errors were encountered: