Skip to content

Investigate instances of fold_right #1536

Closed
@michael-schwarz

Description

@michael-schwarz

We have ~30 calls to List.fold_right in our code and it seems at least for some of them they do the same thing as a fold_left (accumulator is a hash set, or only caller turns returned list into a set-like thing) and there's no particular reason to do things in a specific order.
We should go through them and replace them where appropriate.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions