-
Notifications
You must be signed in to change notification settings - Fork 33
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
feat: add lattice_reduce and lattice_fold #803
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
let lat_type = &type_args[0]; | ||
|
||
let arguments = parse_quote_spanned! {lat_type.span()=> // Uses `lat_type.span()`! | ||
<#lat_type>::default(), #root::lattices::Merge::merge_owned |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<#lat_type as ::std::default::Default>::default()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, I wonder what is the difference in this case?
* feat: add lattice_reduce and lattice_fold * address comments * simplify lattice fold a bit * address comments
* feat: add lattice_reduce and lattice_fold * address comments * simplify lattice fold a bit * address comments
fixes #752