Skip to content

Allow nested Enumerables #4

@sdehm

Description

@sdehm

Allow using an Enumerable as the type of an Enumerable. Currently this is not possible since the Enumerable struct does not implement comparable and there does not seem to be a way to do this now. The current implementation is restricted to comparable types to allow for methods like Contains and TakeWhile. If it were possible to switch on the generic type we may be able to allow this. Some proposals are currently open for the language spec. This seems to be a current shortcoming of generics in general.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions