Skip to content

Is there a way to pretty print Problems? #914

Closed Answered by ssalbdivad
tankorsmash asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, this is built in! What you're looking for is problems.summary.

Each problem also has a builtin description as its toString implementation, so if you do something like problems.join("\n") that should work as well.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@ssalbdivad
Comment options

Answer selected by tankorsmash
@tankorsmash
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants