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

Print extracted terms to stdout #183

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

oflatt
Copy link
Member

@oflatt oflatt commented Aug 10, 2023

No description provided.

} else {
if variants < 0 {
panic!("Cannot extract negative number of variants");
}
let extracted =
self.extract_variants(values[0], variants as usize, &mut termdag);
log::info!("extracted variants:");
println!("(");
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This wraps the variants in parenthesis for easy parsing as a unit.

@mwillsey mwillsey merged commit e0d75d6 into egraphs-good:main Aug 14, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants