Skip to content

[std.setops] setInterospection overly constrained to require number of sets to known at compile time #11044

Description

@crazymonkyyy

I have introspectionpacket[][] which look like:

[[introspectionpacket(0, "x"), introspectionpacket(4, "y")], 
[introspectionpacket(0, "x"), introspectionpacket(4, "y"), introspectionpacket(8, "z")]]

I want the output: [introspectionpacket(0, "x"), introspectionpacket(4, "y")]

as written the first 2 ways that come to mind on how to call set introspection fails

throwing at ai with prompt "dlang, std setintrospection sux, I need it to handle int[][]; investigate" seems to have worked producing these artifacts:

bug_report.md

dynamic_set_intersection.d.txt

I disagree with its solution, but do as you will

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions