Skip to content
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

#repr #8

Open
mlajtos opened this issue Aug 28, 2018 · 0 comments
Open

#repr #8

mlajtos opened this issue Aug 28, 2018 · 0 comments

Comments

@mlajtos
Copy link
Owner

mlajtos commented Aug 28, 2018

As __repr__ in Python, but not a string representation, but visual representation. This is already working for the builtin types (Tensors, Objects, etc.), but it should be accesible from the language.

Paired with HTML literals it would be really nice. Example pulled from the future:

A: {
    value: 23
    #repr: (
        <h1>{value}</h1>
    )
}

This has a very low priority.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant