Skip to content

Allow modifications to local variables in pure functions #1422

Description

@kud1ing

I know this issue is on someone's plate, but i could not find a related issue.

Currently we can not iterate over strings, vectors, lists etc using pure functions. That means that functions like str::is_whitespace() can not be declared pure either, even though logically they are.

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

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions