Skip to content

Add user-defined iterator protocol #123

Description

@itsfuad

Follow-up to #31. Define semantic iterator evidence and user-defined iteration after direct range, fixed-array, dynamic-array, and slice-view loops are established. Reuse optional narrowing for next-result handling; keep static iteration monomorphic where concrete and permit dynamic dispatch only for existing interface values. Add parser/typechecker/ownership/HIR/MIR/backend coverage plus positive and negative source fixtures.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlanguage-modelPeeper language model, ownership, pointer, optional, array/slice work

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions