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

function/stdlib: Setproduct mark handling #99

Merged
merged 1 commit into from
Apr 20, 2021

Commits on Apr 20, 2021

  1. function/stdlib: SetproductFunc precise mark handling

    Setproduct will now preserve marks on both the arguments and their
    elements. Marks that apply to any entire argument will propagate to all
    return values, while marks applied to a single element will remain
    attached to individual values.
    
    In the cases where this function returns a set result the marks still end
    up aggregated at the root set value anyway due to cty's treatment of marks
    in sets, but we can retain the precision in the cases where we'll return
    a list.
    mildwonkey authored and apparentlymart committed Apr 20, 2021
    Configuration menu
    Copy the full SHA
    c968346 View commit details
    Browse the repository at this point in the history