-
Notifications
You must be signed in to change notification settings - Fork 214
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
Allow print without newline #3575
Labels
enhancement
New feature or request
Comments
5 tasks
github-merge-queue bot
pushed a commit
that referenced
this issue
Dec 5, 2023
# Description ## Problem\* Resolves **#3575 Resolves **#2912 (duplicate) Continuation of #3576 ## Summary\* Refactors `println_oracle` method into `print` with boolean indicator, allowing `print` to coexist with `println` under the same `ForeignCall` string symbol. Updates appropriate tests, and logging.md documentation. Add a subchapter to `03_string.md` documentation for the `fmtstr` type ## Additional Context ## Documentation\* Check one: - [ ] No documentation needed. - [x] Documentation included in this PR. - [ ] **[Exceptional Case]** Documentation to be submitted in a separate PR. # PR Checklist\* - [x] I have tested the changes locally. - [x] I have formatted the changes with [Prettier](https://prettier.io/) and/or `cargo fmt` on default settings. --------- Co-authored-by: jfecher <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Sometimes printing without a new line is needed, for example when printing slice contents.
Happy Case
Since Noir is Rust-like, having a
print
method alongsideprintln
seems like a good idea.Alternatives Considered
Support ANSI terminal codes ? 🙃
Additional Context
No response
Would you like to submit a PR for this Issue?
Yes
Support Needs
No response
The text was updated successfully, but these errors were encountered: