Skip to content

Add a isiterable trait #23

Closed
Closed
@davidanthoff

Description

@davidanthoff

I'm not sure this can be done, but I have a vague idea that with all the new work about world counters etc. it might be feasible to add a trait that checks whether all the functions required for iteration are implemented for a type? I remember we discussed this somewhere before, and back then this didn't work because of the infamous problem in julia that I think is now solved with the world counting stuff.

Having an iterable trait would allow me to go to a much more elegant design in Query.jl.

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