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

Add ?: debugging support to work like .? #154

Closed
ingydotnet opened this issue Jun 23, 2024 · 2 comments
Closed

Add ?: debugging support to work like .? #154

ingydotnet opened this issue Jun 23, 2024 · 2 comments
Labels
compiler Language and compiler issues

Comments

@ingydotnet
Copy link
Member

ingydotnet commented Jun 23, 2024

Currently you can do:

x =: foo.bar().?.baz().?

Where .? is sugar for .WWW() which prints and returns its input.

Next we want

foo ?: bar baz

to be like

WWW:
  foo: bar baz

for quick print debugging.

@ingydotnet ingydotnet added the compiler Language and compiler issues label Jun 23, 2024
@ingydotnet
Copy link
Member Author

Needed to #137

@ingydotnet
Copy link
Member Author

Can be done with function tags instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler Language and compiler issues
Projects
Status: Done
Development

No branches or pull requests

1 participant