Skip to content

Add support for for-loops #2

Description

@HenrikBengtsson

Add support to inject progress updates in for loops. For reasons explained in HenrikBengtsson/Wishlist-for-R#179, it's impossible to support:

for (x in xs) {
  sqrt(x)
} |> progressify()

but should be able to support:

( for (x in xs) {
  sqrt(x)
} ) |> progressify()

and

{ for (x in xs) {
  sqrt(x)
} } |> progressify()

We can also support it without pipes;

progressify(for (x in xs) {
  sqrt(x)
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions